Object Reference > True DBGrid Methods > ClearSelCols Method |
ClearSelCols Method
The ClearSelCols method deselects all columns in a split. If no columns are selected, then this method does nothing.
object.ClearSelCols
Arguments
None
Return Value
None
If a grid contains multiple splits, then invoking its ClearSelCols method has the same effect as invoking the ClearSelCols method for the current split. The index of the current split is available through the TDBGrid control's Split property.
Use the SelStartCol and SelEndCol properties to determine the current column selection range for a split.