title | keywords | f1_keywords | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
OldHeight, OldWidth properties |
fm20.chm2001620 |
|
cd2c0dfb-85f3-2381-128b-4d964829e7b0 |
11/16/2018 |
medium |
Returns the previous height or width, in points, of the control.
object.OldHeight
object.OldWidth
The OldHeight and OldWidth property syntaxes have these parts:
Part | Description |
---|---|
object | Required. A valid object. |
OldHeight and OldWidth are read-only.
The OldHeight and OldWidth properties are automatically updated when you move or size a control. If you change the size of a control, the Height and Width properties store the new height, and OldHeight and OldWidth store the previous height.
These properties are valid only in the Layout event.
[!includeSupport and feedback]