Object Reference > TDBDropDown Properties > SelStartCol Property (TDBDropDown) |
This property returns or sets the zero-based ordinal position of the leftmost selected column in a split.
object.SelStartCol= integer
Read/Write at run time. Not available at design time.
If no columns are selected, then this property returns -1.
If a grid contains multiple splits, then setting its SelStartCol property has the same effect as setting the SelStartCol property of the current split. The index of the current split is available through the TDBGrid control's Split property.
Setting this property to -1 deselects all columns and also sets the SelEndCol property to -1.
Note
You can also use the ClearSelCols method to deselect all columns within a split.