mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-20 07:29:29 +02:00
LCL: Check TRadioButton when using keyboard accelerator ("&" in caption)
This commit is contained in:
parent
bc6df44ffa
commit
63f44cf8e7
@ -115,6 +115,8 @@ begin
|
||||
if IsAccel(Message.CharCode, Caption) and CanFocus then
|
||||
begin
|
||||
SetFocus;
|
||||
if Focused then
|
||||
Checked := True;
|
||||
Result := True;
|
||||
end else
|
||||
Result := inherited;
|
||||
|
Loading…
Reference in New Issue
Block a user