diff --git a/docs/xml/lcl/stdctrls.xml b/docs/xml/lcl/stdctrls.xml index edfb06c2fc..c944eea688 100644 --- a/docs/xml/lcl/stdctrls.xml +++ b/docs/xml/lcl/stdctrls.xml @@ -12238,7 +12238,9 @@ changed. -Implements support for an accelerator key in the control. + +Implements support for an accelerator key in the control. +

DialogChar is an overridden Boolean function in @@ -12248,10 +12250,13 @@ 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. +method. If the key code matches the accelerator key in Caption, +the control is focused, its Checked state is enabled, and the return value is +set to True. +

+

+If the control cannot be focused, or Message does not represent the accelerator +for the control, the inherited method is called to get the return value.

This method is called even if the control is disabled or hidden. Provided for @@ -12259,12 +12264,16 @@ Delphi VCL compatibility.

+ + +IsAccel +TWinControl.Focused
-True when the message is handled and the control is focused. +True when the message is handled and the control is focused and checked.