SendKeys Method |
Top Previous Next |
The SendKeys method 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 ("@") and a mnemonic code that corresponds to the supported host functions.
Visual Basic Syntax
TNBSync.SendKeys (Keys As String)
Delphi Syntax
TNBSync.SendKeys (Keys: string);
Remarks
The following table lists the functions keys and its corresponding codes.
This method complements the SendKeys method from TNB3270 components and TNB5250, adding the possibility to send several key sequences separated by aid keys and waits (@W). This is the main difference between both SendKeys methods. This mean that you can navigate through several screens with a single method call.
See also TelnetControl property of TNBSync component and SendKeys method from TNB3270/TNB5250 components.
|