Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!dogie.macc.wisc.edu!csd4.milw.wisc.edu!bionet!agate!saturn!ssyx.ucsc.edu!sirkm From: sirkm@ssyx.ucsc.edu (Greg Anderson) Newsgroups: comp.sys.mac.hypercard Subject: Re: XCMD DIALOG BOX Keywords: xcmd, dialog, Message-ID: <8624@saturn.ucsc.edu> Date: 4 Aug 89 16:07:53 GMT References: <2738@quanta.eng.ohio-state.edu> Sender: usenet@saturn.ucsc.edu Reply-To: sirkm@ssyx.ucsc.edu (Greg Anderson) Distribution: usa Organization: UC Santa Cruz; Division of Social Sciences Lines: 34 In article <2738@quanta.eng.ohio-state.edu> yarri@muon.eng.ohio-state.edu (Zaka U. Bhatti) writes: > >Hello. > > Does anyone know of a xcmd that will allow me to 'ask' for more than > three choices in a dialog box? I don't think so. (You want 'answer', not ask, btw.) > I have a data base in which I want to > be able to sort on any of 5 fields. It would be nice to have a 5 button > dialog box appear with 5 choices and a cancel. You could always create a card with six buttons on it and skip the dialog box... > Is there something like this out there, or should I get hacking? If you really want something like this, grab the "ask" stack from ssyx. It contains source code, and all of the dialog centering, default button drawing and so on is already handled. You could quite easily modify it to do a six-button answer. > > Thanks. > > -- Doug Welcome. ___\ /___ Greg Anderson ___\ /___ \ \ / / Social Sciences Computing \ \ / / \ /\/\ / University of California, Santa Cruz \ /\/\ / \/ \/ sirkm@ssyx.ucsc.edu \/ \/