Error in drawinto listbox

Hello A

The drawinto method of the listbox does not export the listbox correctly into the image. The raws with data are not in the correct position. Any experience?

Don’t use drawinto. It is intended as a quick and dirty method for getting a pic of the screen and is not intended to be a full-featured drawing routine. Draw the contents of the listbox yourself into the graphics printing object using loops to iterate over the rows and columns

Do you mean the picture is different to what you see on the screen ?

Hi Roger,

Do you have any experience how to do that?


Hi Michel,

Yes the picture looks different than the screen. The raws with data are not right after the header, but somewhere in the middle of the list.


Hi All,

Any idea how to fix the Drawinto problem of the listbox using xojo on a windows machine?