Skip to main content

TdxDockingManager.OnUpdateDockZones Event

Enables you to provide custom dock zones for dock controls.

Declaration

property OnUpdateDockZones: TdxUpdateZonesEvent read; write;

Remarks

Each control holds a list of dock zones in its DockZones property. These zones specify where other controls can be docked and also provide the docking functionality. You can modify the list of zones directly via this property, if needed. However, the list will be automatically recalculated each time the layout of dock controls changes. Thus, the OnUpdateDockZones event is provided so that you can modify the list as it is automatically repopulated.

The Sender parameter of the OnUpdateDockZones event specifies the control whose dock zones list has been repopulated. The AZones parameter provides access to the list of zones (to the DockZones property of the control). You can add your own or delete zones, if needed.

You can also specify custom dock zones for individual dock controls. Handle the OnUpdateDockZones event for this purpose.

See Also