mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Move to next control when pressing TAB.
This commit is contained in:
parent
03db285d76
commit
4925060281
1 changed files with 5 additions and 0 deletions
|
|
@ -283,6 +283,11 @@ begin
|
|||
if (FKeyDown = Key) and FAutoComplete and not (Key in [VK_ESCAPE, VK_RETURN, VK_SELECT, VK_UP, VK_DOWN]) then
|
||||
AutoComplete(Text);
|
||||
inherited KeyUpAfterInterface(Key, Shift);
|
||||
{$IF DEFINED(LCLWIN32)}
|
||||
// Windows auto-completer eats the TAB so LCL doesn't get it and doesn't move to next control.
|
||||
if not FAutoComplete and (Key = VK_TAB) then
|
||||
GetParentForm(Self).SelectNext(Self, True, True);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
constructor TKASPathEdit.Create(AOwner: TComponent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue