ComponentOne True DBGrid Pro 8
Keyboard navigation

By default, the user can navigate the grid with the arrow keys, the Enter key, the Tab key, the PgUp and PgDn keys, and the Home and End keys.

Up/Down Arrows

These keys move the current cell to adjacent rows.

Left/Right Arrows

If the AllowArrows property is True (the default), these keys move the current cell to adjacent columns.

 

If the AllowArrows property is False, then these keys move focus from control to control and cannot be used to move between cells.

Enter

By default, the Enter key behaves in the same manner as the Right Arrow key, by moving the current cell from left to right along the adjacent columns. The behavior for the Enter key can be modified by using the DirectionAfterEnter property.

Tab

If the TabAction property is 0 - Control Navigation (the default), the Tab key moves focus to the next control on the form, as determined by the tab order.

 

If the TabAction property is 1 - Column Navigation or 2 - Grid Navigation, the Tab key moves the current cell to the next column, while Shift + Tab moves to the previous column. The differences between column and grid navigation are discussed in the next section.

PgUp, PgDn

These keys scroll the grid up or down an entire page at a time. Unlike the vertical scroll bar, the PgUp and PgDn keys change the current row by the number of visible rows in the grid's display. When paging up, the current row becomes the first row in the display area. When paging down, the current row becomes the last row in the display area, including the AddNew row. The current column does not change.

Home, End

These keys move the current cell to the first or last column. If necessary, the grid will scroll horizontally so that the current cell becomes visible. The current row does not change. If the current cell is being edited, Home and End move the insertion point to the beginning or end of the cell's text.

 

 


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

Product Support Forum  |  Documentation Feedback