ComponentOne True DBGrid Pro 8
TabAction Property

This property defines the behavior of the tab key.

Syntax

TDBGrid.TabAction= value

Values

Design Time

Run Time

0 - Control Navigation (default)

dbgControlNavigation

1 - Column Navigation

dbgColumnNavigation

2 - Grid Navigation

dbgGridNavigation

3 - Grid Column Navigation

dbgGridColumnNavigation

Remarks

Read/Write at run time and design time.

If set to 0 - Control Navigation (the default), the Tab key moves to the next or previous control on the form.

If set to 1 - Column Navigation, the Tab key moves the current cell to the next or previous column. However, if this action would cause the current row to change, then the next or previous control on the form receives focus.

If set to 2 - Grid Navigation, the Tab key moves the current cell to the next or previous column. The behavior of the tab key at row boundaries is determined by the WrapCellPointer property. When this setting is used, the tab key never results in movement to another control.

If set to 3 - Grid Column Navigation, the focus goes to the next control in the tab order when the Tab key is entered on the last column of the last row.

Note

The TabAction property does not determine if the tab key will cross split boundaries. Use the TabAcrossSplits property to control this behavior.

See Also

TDBGrid Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback