Skip to main content

TdxCustomDockControl.ResizeZones Property

Provides a list of resize zones owned by the dock control.

Declaration

property ResizeZones: TdxZoneList read; write;

Property Value

Type
TdxZoneList

Remarks

Each dock control owns a list of resize zones. These are TdxZone class descendants that specify where resizing is available. By default, dock controls create their lists to provide all available resize zones and then update the lists each time the layout of dock controls change.

Each time a dock control updates its resize zones list, the OnUpdateResizeZones event is raised. You can handle it to add your own zones or to delete those created by default. Note that the order of zones in the list is important. When a mouse pointer moves over a dock control, the control’s resize zones list is scanned to determine whether there is a resize zone under the pointer. Zones with smaller indexes are processed first. Once a zone residing under the mouse pointer is found, the search is stopped and this zone’s functionality is used to implement control resizing.

See Also