TdxDockingManager.OnUpdateResizeZones Event
Enables you to provide custom resize zones for the dock control.
Declaration
property OnUpdateResizeZones: TdxUpdateZonesEvent read; write;
Remarks
Each dock control stores a list of resize zones in its ResizeZones property. These zones specify areas of the control where resizing can be initiated and implement resizing. If you need to provide custom resize zones for a control, you can modify its ResizeZones property value as required. However, the list of zones will be automatically repopulated each time the dock control’s layout is changed. Thus, the OnUpdateResizeZones event is provided. It fires each time the list of resize zones of a control is repopulated, thus allowing you to update it as needed.
The Sender parameter of the OnUpdateResizeZones event specifies the control whose resize zones list is being repopulated. The AZones parameter provides access to the list of zones (to the ResizeZones property). You can add your own zones or delete them as needed.
You can also provide custom resize zones for individual dock controls. Handle the OnUpdateResizeZones event for this purpose.