[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomLabel.ShowAccelChar

Underlines the character in the label that acts as an accelerator with a shortcut key.

Declaration

Source position: stdctrls.pp line 1530

protected property TCustomLabel.ShowAccelChar : Boolean
  read FShowAccelChar
  write SetShowAccelChar
  default True;

Description

When False, ampersands '&' in the label's caption are displayed as ordinary characters (as in the Object Inspector).

When True, the character following the ampersand appears underlined, and when the user presses the accelerator key (CTRL+character), the text cursor jumps to the associated FocusControl.

See also

TCustomLabel.FocusControl

  

The control associated with the label and its accelerator key (AccelChar).

The latest version of this document can be found at lazarus-ccr.sourceforge.net.