TdxCustomRibbonForm.KeyPreview Property
Specifies if the form receives keyboard events before the active control.
Declaration
property KeyPreview; default True;
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | True | If True, the form handles keyboard events before the focused control. If False, the form only passes keyboard events to the focused control. |
Remarks
The KeyPreview property has no effect on navigation keys, such as Tab and arrow keys, because they do not generate keyboard events.
The KeyPreview property’s default value is True.
See Also