Admin Production rocket
Current Publication

WaitForControlKey Method

Reflection Desktop .NET API Guide V17.1
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
control key code
value to indicate whether the program should continue to process other actions
WaitForControlKey Method (IScreen)
In This Topic
Waits for the specified control key press.
Syntax

                     
                     
'Declaration
 

                     
                     
Function WaitForControlKey( _
   ByVal timeout As Integer, _
   ByVal keycode As ControlKeyCode, _
   ByVal continueProcess As Boolean _
) As ReturnCode

                  

                     
                     
'Usage
 

                     
                     
Dim instance As IScreen
Dim timeout As Integer
Dim keycode As ControlKeyCode
Dim continueProcess As Boolean
Dim value As ReturnCode
 
value = instance.WaitForControlKey(timeout, keycode, continueProcess)

                  

Parameters

timeout
wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
keycode
control key code
continueProcess
value to indicate whether the program should continue to process other actions

Return Value

ReturnCode indicating success/failure/status
See Also