FMX.Menus.TPopupMenu.DialogKey
Delphi
procedure DialogKey(var Key: Word; Shift: TShiftState);
C++
void __fastcall DialogKey(System::Word &Key, System::Classes::TShiftState Shift);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Menus.pas FMX.Menus.hpp |
FMX.Menus | TPopupMenu |
Description
Processes a dialog key for each of the TPopupMenu's TMenuItems.
DialogKey is called during the message preprocessing to handle dialog characters. If the pressed keys match the ShortCut property of one of the TPopupMenu's TMenuItems, the OnClick event of that TMenuItem is triggered.