OldLeft, OldTop Properties

Returns the distance, in points, between the previous position of a control and the left or top edge of the form that contains it. Syntax object. OldLeft object. OldTop The OldLeft and OldTop property syntaxes have these parts:

Part Description
object Required. A valid object.

Remarks OldLeft and OldTop are read-only. The OldLeft and OldTop properties are automatically updated when you move or size a control. If you move a control, the Left and Top properties store the new distance from the control to the left edge of itscontainer and OldLeft and OldTop store the previous value of Left. OldLeft and OldTop are valid only in the Layout event.