SendKeys Method |
Top Previous Next |
SendKeys can be used to send key sequences to the mainframe (including AID keys). By using special codes you can send several kinds of keys. These codes consist of an Escape character (default is "@") and a mnemonic code that corresponds to the supported host functions.
Visual Basic Syntax
TNBnnnnX.SendKeys (DataString As String)
Delphi Syntax
TNBnnnnX.SendKeys (DataString:string);
The following table lists the functions keys and its corresponding codes.
Here is an example of the Keys parameter:
"logon applid(cics)@E"
Remarks
The execution of the SendKeys is stopped when an AID Key is sent to the Host.
See also AIDKey property. |