TToolButton.DialogChar function
Clicks the button when the message contains the accelerator key for the button control.
Declaration
function DialogChar(var Message: TLMKey): Boolean; overrideFunction result
True If the message was handled as an accelerator key for the tool bar button.Description
Causes the tool button to be clicked when Message contains the
accelerator key (shortcut) in the Caption for the button.
ShowCaptions must be enabled in the Parent tool bar to
allow the button to be clicked. If the message is not handled in the method,
the inherited method is called.
The return value is True if the key message was handled as an accelerator key for the button control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
