[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handles page navigation using the Tab key.
Source position: comctrls.pp line 445
protected procedure TCustomTabControl.KeyDown( |
var Key: Word; |
Shift: TShiftState |
); override; |
Key |
|
Virtual key code examined in the method. |
Shift |
|
Key modifier(s) used in the method. |
KeyDown is overridden in TCustomTabControl to handle use of the Tab key (VK_TAB) to change the active page in the tabbed control.
The Options property must contain the value nboKeyboardTabSwitch to enable the tab switching feature. Pressing Ctrl+Tab switches to the next page by incrementing the PageIndex value. Pressing Ctrl+Shift+Tab switches to the previous page by decrementing the PageIndex value.
If Key is not the VK_TAB virtual key code, the inherited method is called to handle the values in Key and Shift.
|
The set of Options enabled for the tabbed control. |
|
|
Ordinal position for the selected page on the tabbed control. |
|
|
Represents the LCL options available for TCustomTabControl. |
|
|
Signals OnKeyDown event handlers (when assigned). |
Version 4.0 | Generated 2025-05-03 | Home |