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

TRadioButton.DialogChar

Implements support for an accelerator key in the control.

Declaration

Source position: stdctrls.pp line 1494

protected function TRadioButton.DialogChar(

  var Message: TLMKey

):Boolean; override;

Arguments

Message

  

Message examined for the accelerator key.

Function result

True when the message is handled and the control is focused.

Description

DialogChar is an overridden Boolean function in TRadioButton which handles accelerator keys in messages for the control. The return value is set to True when the radio button is successfully toggled in the method.

Message is the TLMKey instance with the key code examined in the method. When the key code matches the accelerator key in Caption, the control is focused and the return value is set to True. If the control cannot be focused, or Message does not represent an accelerator key code, the inherited method is called to get the return value.

This method is called even if the control is disabled or hidden. Provided for Delphi VCL compatibility.

See also

TCustomCheckBox.DialogChar

  

Implements support for accelerator keys in the control.