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.
Load Event Details
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 SUB Form_Load()
 
 Usage Notes
   ■ Typically, you use a Load event procedure to include initialization code
     for a form ─ for example, specifying default settings for controls,
     indicating contents to be loaded into combo boxes or list boxes, or
     initializing form-level variables.
 
   ■ The Load event occurs when a form is first loaded. A form can be loaded
     implicitly or explicitly. A form is implicitly loaded when a reference
     is made to any of its properties or controls. A form is explicitly
     loaded with the LOAD Statement. See: ◄LOAD Statement►
 
   ■ When a form is loaded, it is automatically made visible if it is the
     startup form and the Visible property is set to True (-1). If the form
     is not the startup form, it will not be made visible when loaded, even
     if its Visible property is set to True (-1). To display a form after it
     is loaded, you must use the SHOW method or explicitly set Visible to
     True (-1) after the form is loaded.
 
   ■ After the Load event, this event ordering occurs: Resize, GotFocus,
     Paint. Note: The Paint event only occurs if the AutoRedraw property is
     set to False (0).