Design Time Interaction > Visual Editing Mode |
To enter True DBGrid's visual editing mode, right-click anywhere on the grid to display the context menu, then click Edit. The appearance of the grid does not change; however, when you move the mouse over the column headers, column dividers, or row dividers, the mouse pointer changes to indicate that the object can be selected or resized.
To exit visual editing mode, select another control or click anywhere on the form outside the grid. The next time you right-click the grid, the context menu will appear, not the visual editing menu.
You can use visual editing mode to interactively perform any of the following tasks:
Create and delete columns and splits.
Move and resize columns within the grid.
Move columns to and from the Clipboard.
Adjust the grid's row height.
Save the current grid layout to a file.
Load and remove grid layouts stored in a file.
The following sections provide step-by-step instructions for using visual editing mode.