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