ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.LeftCol Property

Gets or sets the zero-based index of the leftmost column.

[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

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 code sets the leftmost column to column 2:

·      Visual Basic

       Me.C1TrueDBDropdown1.LeftCol = 2

·      C#

       this.c1TrueDBDropdown1.LeftCol = 2;

·      Delphi

       Self.C1TrueDBDropdown1.LeftCol := 2;

See Also

C1TrueDBDropdown Class | C1TrueDBDropdown Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.