|
RAD Studio VCL Reference
|
Provides special processing when the user presses a key.
procedure KeyDown(var Key: Word; Shift: TShiftState); override;
virtual __fastcall KeyDown(Word Key, TShiftState Shift);
KeyDown is called automatically when the user presses a key. After calling the inherited method, which generates an OnKeyDown event, KeyDown processes the following keystrokes:
|
Key |
Behavior |
|
Home |
Selects the first node in the outline. |
|
End |
Selects the last node in the outline. |
|
Return |
Toggles the selected node between its collapsed and expanded states. |
|
Ctrl+* |
Fully expands the outline. |
|
Right arrow |
Selects the first child of the selected node. |
|
Left arrow |
Selects the parent of the selected node. |
|
Ctrl+Up arrow |
Selects the node following the selected node. |
|
Ctrl+Down arrow |
Selects the node preceding the selected node. |
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|