Gets or sets the position of the Horizontal scrollbar.
[Visual Basic]
Public Property HorizontalOffset As Integer
[C#]
public int HorizontalOffset {get;set;}
[Delphi]
public property HorizontalOffset: Int32 read get_HorizontalOffset write set_HorizontalOffset;
Example
In the following example, when the application runs, the starting position of the horizontal scrollbar is moved 500 pixels to the right:
Me.C1TrueDBGrid1.Splits(0).HorizontalOffset = 500
· C#
this.c1TrueDBGrid1.Splits[0].HorizontalOffset = 500;
· Delphi
Self.C1TrueDBGrid1.Splits[0].HorizontalOffset := 500;
See Also
Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |