Gets or sets the behavior of the tab key.
[Visual Basic]
Public Property TabAction As TabActionEnum
[C#]
public TabActionEnum TabAction {get;set;}
[Delphi]
public property TabAction: TabActionEnum read get_TabAction write set_TabAction;
Remarks
The TabAction property does not determine if the TAB key will cross split boundaries. Use the TabAcrossSplits property to control this behavior.
Example
Suppose you have a grid containing a list of customers, including each customer's first name, last name, address and so on. With the TabAction property set to TabActionEnum.ColumnNavigation, as in the following code, you can tab through each column in the grid to see all of this information:
Me.C1TrueDBGrid1.TabAction = TabActionEnum.ColumnNavigation
· C#
this.c1TrueDBGrid1.TabAction = TabActionEnum.ColumnNavigation;
· Delphi
Self.C1TrueDBGrid1.TabAction := TabActionEnum.ColumnNavigation;
Use TabActionEnum.ColumnNavigation to tab through the controls on the form.
If you set TabAction to TabActionEnum.GridNavigation and set the WrapCellPointer property to True, you can tab through the rows in the grid, not just the columns.
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |