expression.WaitForControlKey( _ ByVal timeout As Integer, _ ByVal keycode As ControlKeyCode, _ ByVal continueProcess As Boolean _ ) As ReturnCode
where expression is a variable that represents a IbmScreen Object
Parameters
- timeout
- Wait timeout value (milliseconds).
- keycode
- Control key code.
- continueProcess
- Value to indicate whether the program should continue to process other actions.
Return Value
One of the following ReturnCode enum values.
| Member | Description |
|---|---|
| Cancelled | Cancelled. |
| Error | Error. |
| PermissionRequired | Permission is required. |
| Success | Success. |
| Timeout | Timeout condition. |
| Truncated | The text is truncated. |