mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 17:00:38 +02:00
LCL: TComboBox: make tabbing Delphi compatible. Issue #31247
git-svn-id: trunk@54045 -
This commit is contained in:
parent
0110190851
commit
7650468f69
@ -477,7 +477,7 @@ var
|
||||
begin
|
||||
Skip := False;
|
||||
UserDropDown := ((Shift *[ssAlt] = [ssAlt]) and (Key = VK_DOWN));
|
||||
PreventDropDown := Key in [VK_TAB, VK_RETURN, VK_ESCAPE];
|
||||
PreventDropDown := Key in [VK_TAB, VK_RETURN, VK_ESCAPE, VK_SHIFT, VK_MENU];
|
||||
if PreventDropDown then
|
||||
begin
|
||||
if DroppedDown then Key := VK_UNKNOWN; //prevent execution of DefaultAction (Delphi compatibility)
|
||||
|
Loading…
Reference in New Issue
Block a user