advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Resize Event Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SUB Form_Resize ()
 
 Usage Notes
   ■ Use a Resize event procedure to move or resize controls when the
     container form is resized.
 
   ■ A Resize event procedure can be used to recalculate variables or
     properties that depend on the size of the form.
 
   ■ Whenever the AutoRedraw property is set to False (0) and the form is
     resized, this event ordering occurs: Resize, Paint.
 
   ■ To invoke the Paint event every time a form is resized, use the REFRESH
     method in a Resize event.
 
   ■ The Top, Left, Height, Width, ScaleHeight, and ScaleWidth properties for
     a form are automatically adjusted when a Resize event occurs.