mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 03:16:10 +02:00
parent
02c50e3d3e
commit
e734a9ddb8
@ -305,6 +305,11 @@ var
|
|||||||
Valid: Boolean;
|
Valid: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := inherited;
|
Result := inherited;
|
||||||
|
if not AWinControl.HandleAllocated then
|
||||||
|
begin
|
||||||
|
Result:=AWinControl.CanFocus;
|
||||||
|
Exit;
|
||||||
|
end;
|
||||||
if not CheckHandle(AWincontrol, Self, 'CanFocus') then Exit;
|
if not CheckHandle(AWincontrol, Self, 'CanFocus') then Exit;
|
||||||
|
|
||||||
Bit := CFPreferencesGetAppIntegerValue(CFSTR('AppleKeyboardUIMode'),
|
Bit := CFPreferencesGetAppIntegerValue(CFSTR('AppleKeyboardUIMode'),
|
||||||
|
Loading…
Reference in New Issue
Block a user