alternatingRowBackColor
Type: Integer
Availability: Read or write at any time
The alternatingRowBackColor property of the ListBox control (and the
If the value of the alternatingRowBackColorCount property is 2, the first, third, and so on, list box entry and non‑fixed row default background color is the backColor property value of the list box or table sheet. The second, fourth, and so on, list box entry and non‑fixed row default background color is the alternatingRowBackColor property value when it is not the default value (otherwise the backColor property value of the list box or sheet is used).
If the value of the backColor property of a list box entry, cell, row, or column is specifically set and it is not #800000000 (that is, transparent), the default value of the entry or cell is ignored and the specific value of the backColor property is used.
When a list box entry or cell is drawn, the backColor property value is overridden by any specified backColor value set for that list box entry, cell, its row, or its column.
Note that when the list box or table is scrolled, the colors do not move with a row. The color scheme is applied to the rows, starting with the first visible non‑fixed row; for example:
table1.accessSheet(1).alternatingRowBackColorCount := 2; table1.accessSheet(1).alternatingRowBackColor := Azure;
listbox1.alternatingRowBackColorCount := 3; listbox1.alternatingRowBackColor := DarkGray;
2018.0.01 and higher