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....



InvertCellStates


Unit:SDL_datatable
Class: TDataTable
Declaration: procedure InvertCellStates (StateMask: byte);

The method InvertCellStates inverts the states of all cells (property CellState) of the data table by applying a logical XOR operation to the cell states using the StateMask parameter as a bitmask. See the cell flags for details on the cell state bits.

Example: The statement InvertCellStates ($80); (which is equivalent to InvertCellStates (csMarkedB);) inverts the marks of type B of all cells of the data table.



Last Update: 2012-Oct-20