Page 1 of 1

Screen Wrapper, VLF-ONE RAMP-TS, SENDKEY KeyEnter?

Posted: Sat Jun 12, 2021 8:43 am
by Dino
I am trying to send the key Enter after the user enter a value in a subfile

Code: Select all

Evtroutine Handling(#SUBFILE_PANT09.ItemChanged)
Define_Com Class(#STD_DATEX) Name(#TemporaryDate)
Define_Com Class(#STD_INT) Name(#Index)
#Index := #SUBFILE_PANT09.CurrentItem.Entry
Get_Entry Number(#Index) From_List(#SUBFILE_PANT09)
#COM_OWNER.SETVALUEBYID Fieldid(#NAME_SEL.ComponentTag) Value(#NAME_SEL.CurrentItem.Value) Index(#Index)
#COM_OWNER.Sendkey Key(KeyEnter)
Endroutine
but getting this error:
Function Key Identifier "KEYENTER" is not a valid function key name

this works:

Code: Select all

#COM_OWNER.Sendkey Key(F12)
#COM_OWNER.Sendkey Key(F3)
so... which one is Enter?

Re: Screen Wrapper, VLF-ONE RAMP-TS, SENDKEY KeyEnter?

Posted: Sun Jun 13, 2021 9:40 am
by MarkDale
Just a guess - try 'Enter'

Re: Screen Wrapper, VLF-ONE RAMP-TS, SENDKEY KeyEnter?

Posted: Mon Jun 14, 2021 1:54 am
by Dino
(deleted).

You are correct, 'Enter', capital and lowercase, between quotes. thank you