FLASH WINDOW Commands

 

Flashes visible components of the Window to attract the users attention

 

 

Description:

 

This command can be used to make the Window and / or its' icon on the Windows taskbar flash. This could be used to attract the users attention, for example, when a task completes or when the program running in the Window requires user intervention

 

Syntax:

 

    FLASH WINDOW <FormName> [ CAPTION | TASKBAR | ALL ] COUNT <nTimes> INTERVAL <nMilliSeconds>

 

Valid For Use With:

 

This command can be used for all definable Window types

 

Notes:

  1. These commands are only available after the Window has been defined

  2. When selected, the following visible components flash;

    • CAPTION - the caption (title) bar of the Window will flash

    • TASKBAR - the program's icon on the Windows taskbar will flash

    • ALL - both the caption (title) bar of the Window and the program's icon on the Windows taskbar will flash

    • When no component is specified, ALL becomes the default

  3. COUNT <nTimes> specifies how many times the selected region should flash

  4. INTERVAL <nMilliSeconds> specifies how long in milliseconds to wait between each flash

  5. If the Window is not in focus, once the flash sequence has completed, the taskbar icon will continue to flash slowly until the Window re-gains focus

  6. No seperate help documentation was published with the original or subsequent releases of HMG

Sample Code:

 

Sample code to test these Commands can be found here