Cursor Not Visible
PASSPORT PC to Host, PASSPORT Web to Host
TN3270, TN5250, VT, SCO ANSI, Wyse 60
When using the PASSPORT Object Interface to navigate host screens my code appears to run OK, however, the cursor does not display on the PASSPORT screen after completing. How can I make the cursor appear?
This problem occurs because the PASSPORT window does not currently have the focus. Clicking the title bar at the top of the PASSPORT window will cause the cursor to display in it's current location. You may also use the Activate method of the Session object in your code to make this happen. Sample code:
Function Session_Activate()
Dim Sys, Sess
Dim i
Set Sys = CreateObject("PASSPORT.System")
' Assumes one or more open sessions
Set Sess = Sys.ActiveSession
For i=1 to Sys.Sessions.Count
Set Sess=Sys.Sessions.Item(i)
MsgBox "Activating session " + Sess.Name + "."
Sess.Activate
Next
End Function
In order to make use of the PASSPORT Object Layer, you must be using a license code that is enabled for it.
You will also need the latest Microsoft Visual Basic run-time files must be installed and registered on any workstation that will utilize it. For more information or to download the run-time files, please visit the following page on the Microsoft website: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q192461
cursor, Object Interface, visible