ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.HScrollBar Property

Gets the HBar object that controls the appearance of the horizontal scrollbar.

[Visual Basic]

Public ReadOnly Property HScrollBar As HBar

[C#]

public HBar HScrollBar {get;}

[Delphi]

public property HScrollBar: HBar read get_HScrollBar;

Example

For example, if you want the horizontal scroll bar of a split to be displayed regardless of whether an object's contents go beyond its borders, you would set the HScrollBar property:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).HScrollBar.Style = ScrollBarStyleEnum.Always

·      C#

       this.c1TrueDBGrid1.Splits[0].HScrollBar.Style = ScrollBarStyleEnum.Always;

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].HScrollBar.Style := ScrollBarStyleEnum.Always;

See Also

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


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