Char Event (OpenInsight Specific)
At 12 DEC 2001 12:26:03PM S Bell wrote:
This script didn't work for me.
Can someone explain how this Char Event works?
What's a better way to code this?
The form is like …
Game#: xxx Book#: xxxxxx Agent# xxxxxx Prompt4: xUser wants to be able to Key 15 digits and be at Prompt4
and not have to hit return at all.
DECLARE FUNCTION SEND_EVENT, SET_PROPERTY,
*debug
inupt=GET_PROPERTY(@WINDOW:".GAME","TEXT")
NextField=RTCW_RTC_FILE.BOOK_NUMBER"
NextField=QUOTE(NextField)
X=Len(inupt)
If X=3 then
Next_Prompt=SEND_EVENT(NextField,"GOTFOCUS")
End
RETURN 1
At 12 DEC 2001 01:37PM Oystein Reigem wrote:
This statement is rubbish. Leave it out:
NextField=QUOTE(NextField)
- Oystein -