Gets or sets the left most visible column for a split.
[Visual Basic]
Public Property LeftCol As Integer
[C#]
public int LeftCol {get;set;}
[Delphi]
public property LeftCol: Int32 read get_LeftCol write set_LeftCol;
Remarks
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.
Example
The following example causes the third column to be the leftmost column in the first split:
Me.C1TrueDBGrid1.Splits(0).LeftCol = 2
· C#
this.c1TrueDBGrid1.Splits[0].LeftCol = 2;
· Delphi
Self.C1TrueDBGrid1.Splits[0].LeftCol := 2;
See Also
Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |