ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.HorizontalScrollGroup Property

Gets or sets the group which synchronizes horizontal scrolling between splits.

[Visual Basic]

Public Property HorizontalScrollGroup As Integer

[C#]

public int HorizontalScrollGroup {get;set;}

[Delphi]

public property HorizontalScrollGroup: Int32 read get_HorizontalScrollGroup write set_HorizontalScrollGroup;

Example

To create a new horizontal scroll group and allow the split with the new scroll group setting to be horizontally scrolled independently of the other splits, enter the following code:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).HorizontalScrollGroup = 2

·      C#

       this.c1TrueDBGrid1.Splits[0].HorizontalScrollGroup = 2;

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].HorizontalScrollGroup := 2;

See Also

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


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