Keyboard Shortcuts for the Class Details Window (Class Designer)
You can use the keyboard as well as the mouse to perform navigational actions in the Class Details window.
Using the Mouse
Using a mouse, you can change the appearance of the Class Details window and the data it displays, in the following ways:
Clicking any editable cell lets you edit the contents of that cell. Your changes are reflected in all places that data is stored or displayed, including in the Properties window and in source code.
Clicking any cell of a row causes the Properties window to display the properties for the element represented by that row.
To change the width of a column, drag the boundary on the right side of the column heading until the column is the width you want.
You can expand or collapse compartment or property nodes by clicking the plus or minus symbol to the left of the row.
The Class Details Window offers several buttons for creating new members in the current class and for navigating among the members’ compartments in the Class Details Window grid. For more information, see Class Details Window Buttons.
Using the Keyboard
Note
The following key bindings were chosen to specifically to mimic the experience of typing code.
Use the following keys to navigate the Class Details window:
Key |
Result |
, (comma) |
If the cursor is in a parameter row, typing a comma moves the cursor to the Name field of the next parameter. If the cursor is in the last parameter row of a method, it moves the cursor to the <add parameter> field, which you can use to create a new parameter. If the cursor is elsewhere in the Class Details Window, typing a comma literally adds a comma in the current field. |
; (semicolon) or ) (close parenthesis) |
Move the cursor to the Name field of the next member row in the Class Details Window grid.
|
Tab
|
Moves the cursor to the next field, first moving left to right and then top to bottom. If the cursor is moving from a field in which you have typed text, Class Details Window processes that text and stores it if it does not produce an error. If the cursor is on an empty field such as <add parameter>, Tab moves it to the first field of the next row. |
<space> |
Moves the cursor to the next field, first moving left to right and then top to bottom. If the cursor is on an empty field such as <add parameter>, it moves to the first field of the next row. Note that <space> typed immediately after a comma is ignored. If the cursor is in the Summary field, typing a space adds a space character. If the cursor is in the Hide column of a given row, typing a space toggles the value of the Hide checkbox. |
CTRL+Tab |
Switch to another document window. For example, switch from the Class Details Window to an open code file. |
ESC (Escape) |
If you have begun to type text in a field, pressing ESC acts as an undo key, reverting the field's contents to its previous value. If the Class Details Window has general focus, but no specific cell has focus, pressing ESC moves focus away from the Class Details Window. |
Up arrow and down arrow |
These keys move the cursor from row to row vertically in the Class Details Window grid. |
Left arrow |
If the cursor is in the Name column, pressing the left arrow collapses the current node in the hierarchy (if it is open). |
Right arrow |
If the cursor is in the Name column, pressing the right arrow expands the current node in the hierarchy (if it is collapsed). |