itemBackColor
Type: Integer array
Availability: Read or write at run time only
The itemBackColor property contains a reference to the background color of each item in a ListBox control or ComboBox control. This property contains an array of color values (integers) with the same number of items as that returned by the listCount method in a list box control or combo box control.
Each entry in a list automatically assumes the background color assigned to the list box or combo box control by using the backColor property. However, you can individually assign each entry its own value.
The following example shows the use of the itemBackColor property.
loadListBox() updating; vars obj : Object; begin app.mousePointer := self.MousePointer_HourGlass; if currentDict <> null then foreach obj in currentDict do listInstances.addItem(obj.display); listInstances.itemObject [listInstances.newIndex] := obj; if listInstances.newIndex.isEven then listInstances.itemBackColor[listInstances.newIndex] := LightYellow; endif; endforeach; endif; app.mousePointer := self.MousePointer_Arrow; end;