From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DesktopListBox.RowImageAt(RowNumber as Integer) As Picture

New in 2021r3

Supported for all project types and targets.

Adds the image/picture assigned to the passed row index.


The ListBox row does not resize to accommodate the Picture. If your picture does not fit via RowImageAt, use PaintCellText or PaintCellBackground to draw the picture yourself.


The following example draws a picture in the first cell. The picture has been added to the project.

Listbox1.RowImageAt(0) = UserPhotoImage