Rapid-Q Documentation by William Yu (c)1999 | Appendix A: APPLICATION

# APPLICATION Component

  This object is global, and need not be created.
  Application Properties

  Field | Type | R/W | Default | Support

  ExeName | STRING | R |  | WXG
  | The executable name of the application, path name is excluded (use COMMAND$(0) for full path information).
  Handle | INTEGER | R |  | W
  | hInstance of the application.
  HelpFile | STRING | RW |  | W
  | HelpFile specifies the name of the file the application uses to display help.
  HintColor | INTEGER | RW | clInfoBk | W
  | HintColor determines the color of the hint boxes for the Help Hints.
  HintHidePause | INTEGER | RW | 2500 | W
  | HintHidePause specifies the time interval to wait before hiding the Help Hint if the mouse has not moved from the control or menu item.
  HintPause | INTEGER | RW | 500 | W
  | HintPause specifies the time interval that passes before the control's Help Hint appears when the user places the mouse pointer on a control or menu item.
  HintShortPause | INTEGER | RW | 50 | W
  | HideShortPause specifies the pause to wait before bringing up a hint if a hint has already been shown.
  Icon | STRING | RW |  | W
  | Specify an icon filename to appear as the default icon of your application.
  IcoHandle | RESOURCE | W |  | W
  | Specify an icon resource to appear as the default icon of your application. Example:

  > $RESOURCE game_ICO AS "game.ico"
  > Application.IcoHandle = game_ICO

  ShowHint | INTEGER | RW | True | W
  Title | STRING | RW |  | W

  Application Methods

  Method | Type | Description | Params | Support

  HelpCommand | SUB (Command AS WORD, Data AS LONG) | Accesses the Help commands in the WinHelp API | 2 | W
  HelpContext | SUB (Context AS LONG) | Bring up the Application's HelpFile at specifed Context ID | 1 | W
  HelpJump | SUB (JumpID AS STRING) | Brings up the HelpFile and displays the screen in the Help file that has the JumpID | 1 | W
  Minimize | SUB | Minimize Application | 0 | W
  Terminate | SUB | Terminates Application | 0 | WXG

  Application Examples

        Application.HintColor = &H00FF00

        CREATE Form AS QFORM
            CREATE Button AS QBUTTON
                Hint = "Button Hint"
                ShowHint = 1
            END CREATE
            ShowModal
        END CREATE

  Prev Component | Contents | Next Component