mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 09:19:41 +02:00
LCL: TLabel: Fixed TLabel.FocusControl select control without pressing ALT. Issue #33526
git-svn-id: branches/fixes_1_8@57814 -
This commit is contained in:
parent
f9306c95d1
commit
65ac7e9977
@ -273,6 +273,7 @@ begin
|
||||
Result := False;
|
||||
if not FShowAccelChar then exit;
|
||||
if FFocusControl = nil then exit;
|
||||
if KeyDataToShiftState(Message.KeyData) * [ssCtrl, ssAlt, ssShift] <> [ssAlt] then exit;
|
||||
|
||||
if IsAccel(Message.CharCode, GetLabelText) and FFocusControl.CanFocus then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user