Skip to main content

TdxCustomDockControl.OriginalHeight Property

Gets the real height of the dock control.

Declaration

property OriginalHeight: Integer read;

Property Value

Type
Integer

Remarks

When a control is docked to a site, the site controls the control’s dimensions. For instance, when docking a control to the left edge of a dock site, its height is changed to match the height of the site. When a control floats again, its dimensions need to be restored. For this purpose, the control’s dimensions while floating are stored in the OriginalHeight and OriginalWidth properties. These specify the height and width of the control’s client area respectively. Note that size restoring relates to dock panels and tab containers only.

Normally, you will have no need to use this property in applications.

See Also