ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.TabAcrossSplits Property

Gets or sets a value indicating the behavior of the tab and arrow keys at split borders.

[Visual Basic]

Public Property TabAcrossSplits As Boolean

[C#]

public bool TabAcrossSplits {get;set;}

[Delphi]

public property TabAcrossSplits: Boolean read get_TabAcrossSplits write set_TabAcrossSplits;

Remarks

If True, the TAB and arrow keys will move the current cell across split boundaries. When at the last column of the rightmost split (or the first column of the leftmost split), they will either wrap to the next row, stop, or move to other controls depending on the values of the WrapCellPointer and TabAction properties.

If False (the default), the TAB and arrow keys will not move the current cell across split boundaries. They will either wrap to the next row, stop, or move to other controls depending on the values of the WrapCellPointer and TabAction properties.

Note: The TabAcrossSplits property does not determine if the TAB and arrow keys will move from cell to cell, or from control to control, or wrap to the next row. Use the AllowArrows, WrapCellPointer, and TabAction properties to control this behavior. If the TAB and arrow keys are able to move from cell to cell, this property determines whether they will move across split boundaries to adjacent splits.

Example

The following code allows you to tab to the column in the next split:

·      Visual Basic

       Me.C1TrueDBGrid1.TabAcrossSplits = True

       Me.C1TrueDBGrid1.TabAction = TabActionEnum.GridNavigation

·      C#

       this.c1TrueDBGrid1.TabAcrossSplits = true;

       this.c1TrueDBGrid1.TabAction = TabActionEnum.GridNavigation;

·      Delphi

       Self.C1TrueDBGrid1.TabAcrossSplits := True;

       Self.C1TrueDBGrid1.TabAction := TabActionEnum.GridNavigation;

See Also

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


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