Sets the image to appear next to the item's text.

Usage

Set_Property(OLECtrlEntID, "OLE.ItemImage[col; record]", Integer)

Values

Integer

Default: 0

Indices

IndexDescription
colThe index to a column in the report table
recordThe index to a record in the report table

Remarks

The ItemImage property sets the image to appear next to the item's text. First, you have to set up an image list using the ImageList property. Then you set this property to the index of the image you want to display. The image will appear to the left of the text.

Just like the SRP EditTable Control, you must separate the column and record index by a semicolon, not a comma.

Example

// Set the first item in the third record's image to the fifth image in our image list
Set_Property(@Window:".OLE_REPORTTABLE", "OLE.ItemImage[1;3]", 5)

See Also

ColumnHyperlink

  • No labels