Event fired after the user moves the form.

Parameters

<left expN>

The new horizontal position of the upper left corner of the form’s client area.

<top expN>

The new vertical position of the upper left corner of the form’s client area.

Property of

Form, SubForm

Description

Use onMove to perform actions automatically when a form is moved.

The two parameters passed to the event handler indicate the new position of the client area of the form, the area below the title bar and inside the edges of the form. To get the new position of the entire form, check the form’s left and top properties directly.