Object Reference > True DBGrid Properties > LeftCol Property |
This property returns or sets the zero-based index of the leftmost column in a grid or split.
object.LeftCol= integer
Read/Write at run time. Not available at design time.
For a TDBGrid or TDBDropDown control, setting the LeftCol property causes the grid to scroll so that the specified column becomes the leftmost column. If a grid contains multiple splits, then the leftmost column changes in each split.
For a Split object, setting the LeftCol property causes the specified column to become the leftmost column for that split only.
Use the LeftCol property in code to scroll a grid or split horizontally. Use the FirstRow property to determine the bookmark of the first visible row in a grid or split.