Resize Event
Object List Next Object
Defined By: Form
Description:
Occurs when a form first appears on the screen or the size of the form changes.
Usage:
Sub Resize()
Details:
The Resize event is triggered whenever your program changes the form's
Visible, Height, or Width properties; each time a form loads or is displayed; and each
time the form size is changed using the mouse.
Use a Resize procedure to adjust the position and size of controls when the
parent form is resized. If certain variables (such as ScaleHeight and ScaleWidth)
depend on the size of the form, you can also use Resize to recalculate them
according to the new size.
See Also:
Load event, Paint event, Refresh method, Show method