qck.hlp (Table of Contents; 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.
Unload Event
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 Occurs when a form is about to be unloaded from memory. The Unload event is
 triggered either by user action - for example, closing the form using the
 Control-menu box - or by the UNLOAD Statement.
 
    SUB Form_Unload (Cancel AS INTEGER)
 
    ■ Cancel  Any nonzero value; setting Cancel to any nonzero value
              prevents the form from being unloaded
 
 Applies To
    ◄Form►
 
 See Also
    ◄Load Event►                      ◄LOAD Statement►
    ◄UNLOAD Statement►