mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 23:39:09 +02:00
dockmanager example: made Close button hide the docked control
git-svn-id: trunk@24851 -
This commit is contained in:
parent
573fd149a2
commit
2947939f60
@ -949,7 +949,8 @@ begin
|
||||
{$ELSE}
|
||||
Control.ManualDock(nil, nil, alNone); //do float
|
||||
{ TODO -cLCL : OnEndDock not called by ManualDock? }
|
||||
TWinControlAccess(Control).DoEndDock(nil, Control.Left, Control.Top);
|
||||
//TWinControlAccess(Control).DoEndDock(nil, Control.Left, Control.Top);
|
||||
Control.Visible := False;
|
||||
{$ENDIF}
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user