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.
SHOW Method Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 [form.]SHOW [style%]
 SCREEN.SHOW
 
 Usage Notes
   ■ Use SCREEN.SHOW to display all forms that have been hidden with the
     command SCREEN.HIDE. See HIDE Method
 
   ■ If the specified form is not loaded when the SHOW method is invoked,
     Visual Basic automatically loads it. See: LOAD Statement
 
   ■ When displaying a modal form, no user input (keyboard or mouse click)
     can occur in any other form until the modal form is hidden or unloaded.
     Your program must hide or unload a modal form (usually in response to
     some user action) before other forms can respond to events or accept
     user input. Because of this, it is not a good idea to use "SHOW 1" in a
     Form_Load event procedure unless you explicitly code an alternate way
     of removing or hiding the form. See: Modal Vs. Modeless
 
   ■ When a modeless form is displayed, code that occurs after the SHOW
     method is executed as it is encountered. When a modal form is displayed,
     code after the SHOW method is not executed until the form is hidden
     or unloaded. See: HIDE Method  UNLOAD Statement
 
   ■ Standard dialog boxes produced by Visual Basic functions such as MSGBOX
     and INPUTBOX$ are invoked by direct reference. They cannot be loaded,
     shown, or unloaded. See: MSGBOX Function  INPUTBOX$ Function