How to Use Styles > Applying Styles to Cells > Specifying cell status values |
The first argument to the AddRegexCellStyle method indicates the selection state that will trigger application of the specified style. It can be one of the following constants:
dblNormalRow |
0 - Applies to cells in nonselected rows |
dblSelectedRow |
8 - Applies to cells in selected rows |
dblAllRows |
-1 - Applies to all cells in all rows, regardless of selection state |
The values of these constants were chosen for compatibility with True DBGrid Pro.