mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 13:00:17 +02:00
LCL-CustomDrawn: Finally finishes fixing suppoty to navigate controls with tab
git-svn-id: trunk@39493 -
This commit is contained in:
parent
0366bfa300
commit
fb7212f505
@ -59,6 +59,7 @@ begin
|
||||
|
||||
// Also mark in the window information the focus change
|
||||
TCDForm(lForm.Handle).FocusedControl := ALCLControl;
|
||||
TCDForm(lForm.Handle).FocusedIntfControl := FocusedIntfControl;
|
||||
|
||||
// Verify if the virtual keyboard needs to be shown/hidden
|
||||
// Only show if there is no hardware keyboard, but hide always in case
|
||||
|
@ -2852,8 +2852,10 @@ end;*)
|
||||
function TCDWidgetSet.GetFocus: HWND;
|
||||
begin
|
||||
Result := 0;
|
||||
if FocusedIntfControl <> nil then Result := FocusedIntfControl.Handle
|
||||
else if FocusedControl <> nil then Result := FocusedControl.Handle;
|
||||
// Don't return the intfcontrol, we try to pretend it doesn't exist
|
||||
{if FocusedIntfControl <> nil then Result := FocusedIntfControl.Handle
|
||||
else}
|
||||
if FocusedControl <> nil then Result := FocusedControl.Handle;
|
||||
end;
|
||||
|
||||
(*function TQtWidgetSet.GetKeyState(nVirtKey: Integer): Smallint;
|
||||
|
Loading…
Reference in New Issue
Block a user