IfColHasCellState

Declaration: TDataTable.IfColHasCellState (col: integer; CellState: byte): boolean;
The function IfColHasCellState returns TRUE if the column col contains at least one cell with a cell state which matches the state mask defined by the parameter CellState.

Example: The statement test := IfColHasCellState (4, $A0); assigns a TRUE value to the variable "test" if at least one of the cell states of column 4 has either bit 7 or bit 5 set to 1 ($A0 = 10100000).