ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.VScrollBar Property

Gets the VBar object that controls the appearance of the vertical scrollbar.

[Visual Basic]

Public ReadOnly Property VScrollBar As VBar

[C#]

public VBar VScrollBar {get;}

[Delphi]

public property VScrollBar: VBar read get_VScrollBar;

Example

The following code sets the width of the vertical scroll bar to 25, making it about double the standard size of the grid's vertical scroll bar:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).VScrollBar.Width = 25

·      C#

       this.c1TrueDBGrid1.Splits[0].VScrollBar.Width = 25;

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].VScrollBar.Width := 25;

See Also

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


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