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

[ALLY] Dialog Box

From: phil::bevan::tesco::net at: 12-Aug-2000 22:06

Hi All, I have a query about dialog boxes ..... In every other langauge I have programmed in when you display a dialog box it waits until you dismiss it before continuing with the next statement. However the inform function does continue .... it blocks input from the UI but continues execution. (see exemple below) When you hit the dialog button an inform window is displayed but we still do the print statement. Is this intended behaviour?? What do you do if you want to ask a yes/no question and not do any further processing until knowing the result ?? REBOL [ Title: "Test4" Date: 12/08/2000 File: %test4.r ] view layout [ button "Dialog" [ inform layout [ button "1" [print "Button 1"] button "OK" [hide-popup] ] print "After inform" ] button "Quit" [quit] ] Cheers PHil