Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!uflorida!stat!sun13!gw.scri.fsu.edu!pepke From: pepke@gw.scri.fsu.edu (Eric Pepke) Newsgroups: comp.sys.mac.hypercard Subject: Re: the Ask command Message-ID: <72@sun13.scri.fsu.edu> Date: 8 Jun 90 16:57:33 GMT Sender: news@sun13.scri.fsu.edu Organization: Florida State University, but I don't speak for them Lines: 20 References:<12142@june.cs.washington.edu> <4120@darkstar.ucsc.edu> In article <4120@darkstar.ucsc.edu> sirkm@ssyx.ucsc.edu (Greg Anderson) writes: > It would not be difficult to modify my XFCN so that pressing "Cancel" > returns the string litteral "Cancel" instead of empty. Of course, you > then would be unable to distinguish between the user typing "Cancel" > and hitting "OK" with a normal click on the "Cancel" button, but this > isn't a terrible handicap. One could pass the cancel string in the invocation of the XFCN. Then it would be up to the caller to use a string that would be an inappropriate answer for the particular question. A truly paranoid caller might build the string from characters that cannot be typed. Eric Pepke INTERNET: pepke@gw.scri.fsu.edu Supercomputer Computations Research Institute MFENET: pepke@fsu Florida State University SPAN: scri::pepke Tallahassee, FL 32306-4052 BITNET: pepke@fsu Disclaimer: My employers seldom even LISTEN to my opinions. Meta-disclaimer: Any society that needs disclaimers has too many lawyers.