AppActivate Instruction
Syntax
AppActivate Title$
-or-
AppActivate TaskID
Group
Description
Form 1: Activate the application top-level window titled Title$. If no window by that title exists, then the first window with a title that starts with Title$ is activated. If no window matches then an error occurs.
Form 2: Activate the application top-level window for task TaskID. If no window for that task exists then an error occurs.
Parameters |
Description |
The name shown in the title bar of the window. |
|
This numeric value is the task identifier. |
See Also
Example
Sub Main
' make ProgMan the active application
AppActivate "Program Manager"
End Sub