Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>



Programmatically docking and undocking panels
To programmatically change the state of a TAdvToolPanel to floating or docked, the methods ManualFloat and ManualDock can be used. To check the docking / floating state of a panel, the property TAdvToolPanel.Floating can be used. The code snippet below toggles between floating and docked state:
begin if not AdvtoolPanel1.Floating then AdvtoolPanel1.ManualFloat(rect(20,20,200,200)) else AdvtoolPanel1.ManualDock(advtoolpaneltab1); end;