Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Closing an Inform Box

From: petr:krenzelok:trz:cz at: 11-Apr-2002 18:46

Philippe Oehler wrote:
>That could be an opportunity (focusing back to the field) but how can you >stop the process. >I mean the user fill 5 fields then he press a button to validate. The >checking process is done when he press the button. >If there is an error, i can focus back to the field but how can I make to >tell the process to be stop and wait on the user to correct.. >
I don't understand ... :-) you just described your solution, no? If you return process back to the field, then the process will stop, and you will be able to correct info entered in the field. I have to be missing something .... view layout [f1: field f2: field button "Start action" [if f1/text = "a" [focus f1 return] print f2/text]] if you enter "a" in the first field, you will be focused back, and nothing is printed ... if you enter anything else, then f2 field content is printed .... -pekr-