StyleGrid REALbasic Plugin

StyleGridColumn.BackColor Property

Sets or gets background color for the column.

BackColor as Color {Read and Write}

Remarks

Note that the HasBackColor property has to be set to true for the BackColor property to be respected.

The following example will color the 2nd column as shown on the picture bellow

StyleGrid1.Column(2).HasBackColor = true
StyleGrid1.Column(2).BackColor = &cE0E0EF




Priority how coloring of cells is processed
1. Selection highlight has first priority.
2. If cell's style has back color defined on it then that has second priority.
3. If a column has a back color defined on it then that has third priority.
4. Coloring of every other row has forth priority.

See Also

StyleGridColumn Class