mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 16:39:26 +02:00
LCL: TLabel: Fixed TLabel.FocusControl select control without pressing ALT. Issue #33526
git-svn-id: trunk@57571 -
This commit is contained in:
parent
7aa9f045f5
commit
797b238648
@ -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