Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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: x

User 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 -

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/e6e5104f95a9e93185256b20005fc4f0.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1