ListBox.RowImageAt

From Xojo Documentation

Method

ListBox.RowImageAt(RowNumber as Integer) As Picture

New in 2019r2

Supported for all project types and targets.

Adds the image/picture assigned to the passed row index (zero-based).

Notes

The ListBox row does not resize to accommodate the Picture. If your picture does not fit via RowImageAt, use CellTextPaint or CellBackgroundPaint 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