FMX.Menus.TMenuItem.DialogKey
Delphi
procedure DialogKey(var Key: Word; Shift: TShiftState); override;
C++
virtual void __fastcall DialogKey(System::Word &Key, System::Classes::TShiftState Shift);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Menus.pas FMX.Menus.hpp |
FMX.Menus | TMenuItem |
Description
Processes a dialog key.
DialogKey is called during the message preprocessing to handle dialog characters. If the pressed keys match the ShortCut property, an OnClick event is triggered.
Do not call DialogKey in an application. It is for internal use only.
DialogKey processes the dialog key messages for each of the control's children.