Text application methods and events
Text applications have the following methods and events.
|Focus||Places focus on the main window of the target application.|
|Hide||Hides all processes currently running in this adapter.|
|Maximize||Maximizes the main window of the target application.|
|Minimize||Minimizes the main window of the target application.|
|RematchChildren||Refreshes matching on all objects under the adapter. Set the detach property to True to unmatch all targets before attempting to rematch.|
|ReseteState||Resets all component properties to their initial values.|
|Restore||Restores the main window of the target application.|
|SendControlSequence (1 parameter)|
Sends the appropriate control sequence data. Control sequences consist of text data plus optional binary data expressed with an octal escape sequence. The octal number must contain three digits, including leading zeros, for example, ABCD\007.
This sends the letters ‘ABCD’ followed by 7 (BELL). Note, this is not the character 7 (which is 55 in ASCII).
|SendKeyStringToHost (1 Param)||Sends the key string data to the host application.|
SendKeyStringToHostPlusEnter (1 Param)
|Sends the key string data plus an Enter key to the host application.|
|SendKeyToHost (1 param, 2 param)|
Sends the keystroke to the host application.
Parameters are: (Keys), (Char), (Host Keys), (Keys Key, Int32 Repeal Count), (Char key, Int32 Repeal Count), (Host32Key, Int32 Repeal Count.
|Show||Shows all processes currently running in this adapter.|
Set this property to True if you want hidden fields, such as those that show passwords or other sensitive information, to appear. The default is False, which hides this information.
The ShowHiddenFields property for Text adapters is not supported by all emulators. For example, it is not supported by Reflection or Call.
|Start||Starts the application.|
|Stop||Stops the associated process (and all child processes) using StopMethod.|
|Started||Occurs when the host application is started.|
|Starting||Occurs when the host application is starting.|
|Stopped||Occurs when the host application exits.|
|Stopping||Occurs before the Stop is called on the host application.|
|Terminated||Occurs when the host application is terminated.|Previous topic Text application properties