Resize Event

Applies To
Form

Description
Occurs when the form is resized.

Usage

Form_Resize (Sender$ As String)  
Sender$
Name of a form that sent the event.

See Also
Form, Load, Closed

Example

Function frmMain_Resize(Sender$ As String)  
  Integer width  
  GGet frmMain.Width, width  
  GSet frmMain.btnOK.Left, width / 2 - 100  
  GSet frmMain.btnCancel.Left, width / 2 + 10
Fend