FMX.Menus.TMenuItem.ShortCut

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property ShortCut: TShortCut read GetShortCut write SetShortCut stored ShortCutStored;

C++

__property System::Classes::TShortCut ShortCut = {read=GetShortCut, write=SetShortCut, stored=ShortCutStored, nodefault};

Properties

Type Visibility Source Unit Parent
property published
FMX.Menus.pas
FMX.Menus.hpp
FMX.Menus TMenuItem

Description

Specifies the key combination that users can press to quickly access the MenuItem.

Use ShortCut to designate a key combination that users can press to easily access the current MenuItem, instead of manually accessing it.

When setting the ShortCut property at design time, the Object Inspector provides a long list of key combinations to choose from. To modify the ShortCut property at run time, use TextToShortCut:

  MenuItem9.ShortCut := TextToShortCut('Ctrl+A');


See Also