Screen Wrapper, VLF-ONE RAMP-TS, SENDKEY KeyEnter?
Posted: Sat Jun 12, 2021 8:43 am
I am trying to send the key Enter after the user enter a value in a subfile
but getting this error:
Function Key Identifier "KEYENTER" is not a valid function key name
this works:
so... which one is Enter?
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)
EndroutineFunction 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)