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. For a list of these properties See the SENDKEY Names in Function Key Names for SENDKEY Function in lansa049.chm. |
Payload |
Char 256 - Optional |
A string that contains a payload. The payload is returned in vHandleArrive |
Return Value
None
Examples
Define_Com Class(#vf_sy122) Name(#myscreen_wrapper) Parent(#COM_OWNER)
#myscreen_wrapper.Sendkey Key(#myscreen_wrapper.KeyPageDown) Payload(NEXT_PAGE)