Printing a ListBox

Probably a silly question:
how do you print a ListBox? What is the code?

Thank you

You would have to loop the contents and print them yourself.

you can start with something like this :

If you have a Dynapdf license of Monkeybread, then you can adapt some examples, I use this to convert a listbox to pdf and the print it

https://www.monkeybreadsoftware.net/example-dynapdf-dynapdfgraphics-listboxreport.shtml
https://www.monkeybreadsoftware.net/example-dynapdf-dynapdfgraphics-reporting-listboxreport.shtml
https://www.monkeybreadsoftware.net/example-dynapdf-tablewithlistboxautowidth.shtml
https://www.monkeybreadsoftware.net/example-dynapdf-tables-dynapdftablefromlistbox.shtml
https://www.monkeybreadsoftware.net/example-dynapdf-tables-tablewithlistbox.shtml