SetTopWindow
Find the syntax, use, parameters, return values, and an example for the SetTopWindow macro command in Connexion client.
Syntax | BOOL = CS.SetTopWindow (nWindowId) |
---|---|
Use to | Make the window specified by its numeric identification the current (topmost) window. |
Parameters | For nWindowId, enter the window number you want to make the current window, with 0 (zero) representing the first window. |
Return values | TRUE if the action is successful, or FALSE if not. |
Example | Sub Main() Dim CS As Object Dim sTitle As String Set CS = GetObject(,“Connex.Client”) If CS.IsOnline = False Then CS.Logon ““, ““, ““ End If CS.OpenWorkform “bks” CS.Search “WC”, “#1” CS.Search “WC”, “gon,wi,th,w” CS.GetWindowTitle -1, sTitle MsgBox sTitle CS.SetTopWindow 0 CS.GetWindowTitle -1, sTitle MsgBox sTitle End Sub |
What this example does |
|