ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.RemoveHorizontalSplit Method

Removes all the horizontal splits at the given index.

[Visual Basic]

Public Sub RemoveHorizontalSplit( _

ByVal idx As Integer _

)

[C#]

public void RemoveHorizontalSplit(

int idx

);

[Delphi]

public procedure RemoveHorizontalSplit(

idx: Int32

);

Remarks

By default, the grid has one horizontal split.

Example

The following code removes the split with an index of 5:

·      Visual Basic

       Me.C1TrueDBGrid1.RemoveHorizontalSplit(5)

·      C#

       this.c1TrueDBGrid1.RemoveHorizontalSplit(5);

·      Delphi

       Self.C1TrueDBGrid1.RemoveHorizontalSplit(5);

For additional information on using styles, see Creating and Removing Splits.

See Also

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


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