DesktopListBox.RowImageAt

From Xojo Documentation

Method

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.

Notes

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.

Example

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

Listbox1.RowImageAt(0) = UserPhotoImage