Unit 'MUIClass.Menu' Package
[Overview][Classes][Index] [#MUIClass]

TMUIMenuItem.ShortCut

Define the shortcut for a menu item.

Declaration

Source position: MUIClass.Menu.pas line 78

published property TMUIMenuItem.ShortCut : string
  read FShortCut
  write SetShortCut;

Description

If CommandString is True, it should be a full key sequence (e.g. "shift alt q") which is shown right next to the title as hot key. If CommandString is False only the first char is used to show it as Amiga + "Char" shortcut. Note that MUI wont check if these keys are pressed (just like intuition), you'll have to do this yourself.

See also

CommandString

  

Set to True if ShortCut is a full key sequence.


Documentation generated on: 2024-04-25