mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-25 17:29:07 +02:00
Merged revision(s) 56031 #93eedde9b9 from trunk:
LCL: Fixed TDateEdit/TTimeEdit controls break the tab order. Issue #32533 ........ git-svn-id: branches/fixes_1_8@56039 -
This commit is contained in:
parent
24186cd2fc
commit
74b3aedbc4
@ -413,18 +413,10 @@ implementation
|
||||
|
||||
function TGEEdit.PerformTab(ForwardTab: boolean): boolean;
|
||||
begin
|
||||
//if not Forward then inherited PerFormTab will set focus to the owning
|
||||
//TCustomAbstractGroupedEdit, which immediately transfers the focus back to the TGEEdit
|
||||
//so let TCustomAbstractGroupedEdit do the Performtab in this case
|
||||
if ForwardTab then
|
||||
Result := inherited PerformTab(ForwardTab)
|
||||
if Assigned(Owner) and (Owner is TCustomAbstractGroupedEdit) then
|
||||
Result := TCustomAbstractGroupedEdit(Owner).PerformTab(ForwardTab)
|
||||
else
|
||||
begin
|
||||
if Assigned(Owner) and (Owner is TCustomAbstractGroupedEdit) then
|
||||
Result := TCustomAbstractGroupedEdit(Owner).PerformTab(ForwardTab)
|
||||
else
|
||||
Result := False;
|
||||
end;
|
||||
Result := False;
|
||||
end;
|
||||
|
||||
{ TCustomAbstractGroupedEdit }
|
||||
|
Loading…
Reference in New Issue
Block a user