[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Applies standard keystrokes to the control.
Source position: dbctrls.pp line 794
protected procedure TDBComboBox.KeyPress( |
var Key: Char |
); override; |
Key |
|
Keystroke character examined in the method. |
KeyPress is an overridden method used to apply standard keystrokes to the data-aware control. KeyPress calls the inherited method to process the keystroke character in Key. If the key is not handled in the ancestor, and is in the range #32..#255, it can be potentially applied to the Field in the linked dataset. FieldCanAcceptKey, in the implementation section, is called to to determine if the keystroke can be used and applied to the field type. When valid for the field, Key is set to #0 to suppress further processing of the keystroke.
|
The Field to which the datalink is attached. |
|
|
Signals the OnKeyPress event handler (when assigned). |
Version 4.0 | Generated 2025-05-03 | Home |