The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



IfColHasCellState


Unit:SDL_datatable
Class: TDataTable
Declaration: function IfColHasCellState (col: longint; 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).



Last Update: 2012-Oct-20