SendKey Method
Emulates the pressing of a function key.
Syntax
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
#myscreen_wrapper.SendKey Key(#myscreen_wrapper.<key property>)
Parameters
Key |
Property – Required |
The property of #myscreen_wrapper that resolves to the desired key. |
|---|
|
Return Value
ReturnScreen |
Char 256 – Optional |
String that contains the name of the screen wrapper 5250 screen after the key was sent. |
|---|
|
Examples
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
#myscreen_wrapper.Sendkey Key(#myscreen_wrapper.KeyEnter)
Show Contents List