mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 06:18:18 +02:00
lcl: DoRemainingKeyUp must return False it LCL does not handle that key
git-svn-id: trunk@18480 -
This commit is contained in:
parent
d228a457dc
commit
0a7dc1d469
@ -5295,7 +5295,7 @@ var
|
|||||||
ShiftState: TShiftState;
|
ShiftState: TShiftState;
|
||||||
begin
|
begin
|
||||||
//debugln('TWinControl.DoRemainingKeyUp ',DbgSName(Self));
|
//debugln('TWinControl.DoRemainingKeyUp ',DbgSName(Self));
|
||||||
Result:=true;
|
Result := True;
|
||||||
|
|
||||||
ShiftState := KeyDataToShiftState(Message.KeyData);
|
ShiftState := KeyDataToShiftState(Message.KeyData);
|
||||||
|
|
||||||
@ -5309,6 +5309,7 @@ begin
|
|||||||
if Message.CharCode=VK_UNKNOWN then exit;
|
if Message.CharCode=VK_UNKNOWN then exit;
|
||||||
// Note: Message.CharCode can now be different or even 0
|
// Note: Message.CharCode can now be different or even 0
|
||||||
end;
|
end;
|
||||||
|
Result := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user