TestForKb Unlocked (Method)
Â
ISession::TestForKbUnlocked
Check if the connected session is ready for input.
Â
Function TestForKbUnlocked As Long
 No parameters
Â
Return Code | Description |
JGS_OK | Keyboard is unlocked and ready for input |
JGS_NOTCONNECTED | Your application is not connected to a session |
JGS_PSBUSY | Session is in X-Clock or X-System mode |
JGS_INHIBITED | The keyboard is locked |
JGS_SYSERROR | The function failed due to a system error |
Sample Code
Â
Dim result as Long
result = sess.TestForKbUnlocked
If result = JGS_OK then
...
Else
...
End If
result = sess.TestForKbUnlocked
If result = JGS_OK then
...
Else
...
End If
QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.