Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!reed!sharvy From: sharvy@reed.UUCP (Harvey Marvy) Newsgroups: comp.sys.mac.hypercard Subject: user input without dialog boxes Message-ID: <15845@reed.UUCP> Date: 5 Jan 91 07:31:48 GMT Reply-To: sharvy@reed.UUCP (Harvey Marvy) Organization: Reed College, Portland OR Lines: 14 I'm having a hard time figuring out an elegant way to get input from the user in the middle of handler without using ask and answer. I wish to avoid the dialog boxes for asthetic reasons. Suppose I want to ask a yes-or-no question. I can put the question into a field and then make 2 buttons named "yes" and "no" to get an answer, but if I put the question from inside a handler the handler will just continue to execute without waiting for the response. I tried making the next line 'wait until response is not "" ' where response was a global variable changed in the yes/no button handlers, but this didn't work. So what's the problem. I have to believe I'm just being dense, and their's an obvious solution to this problem. Any enlightenment will be appreciated (if recognized). Ben.