Sign in Join
FPDoc Onlineexperiment

TCustomSpeedButton.ShowAccelChar property

Member of TCustomSpeedButtonpublicIn unit Buttons

Indicates if the accelerator key (shortcut) is displayed in the Caption for the control.

Declaration

pascal
property ShowAccelChar: Boolean read FShowAccelChar write SetShowAccelChar default True;

Description

ShowAccelChar is a Boolean property which controls whether an accelerator key in Caption is displayed as an underlined character. The accelerator (or shortcut) key in Caption is identified by the '&' character, with the subsequent character used as the accelerator key.

When set to False, the underlined character is not drawn in Caption and the accelerator key is not handled in the DialogChar method.

The default value for ShowAccelChar is True. Changing the value for the property causes the control to be redrawn.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.