StyleGrid REALbasic Plugin

StyleGridColumn.HasBackColor Property

If set to true then the color defined in the BackColor property will be used to color the column.

HasBackColor as Boolean {Read and Write}

Remarks

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