home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!uvaarpa!adastra!mbs
- From: mbs@adastra.cvl.va.us (Michael B. Smith)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: MX_KIND Radio buttons
- Distribution: world
- Message-ID: <mbs.1gk9@adastra.cvl.va.us>
- References: <1992Dec14.134809.22832@eua.ericsson.se>
- X-NewsSoftware: GRn-beta 1.16g (10.12.92) by Michael B. Smith & Mike Schwartz
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- Date: 14 Dec 92 18:05:26 EDT
- Organization: Well, I haven't decided on a name yet...
- Lines: 15
-
- In article <1992Dec14.134809.22832@eua.ericsson.se> etxpihl@eua.ericsson.se (Tomas Pihl) writes:
- > Could someone tell me how to tell (at any time) which one
- > of my radio buttons that are currently selected?
-
- On 2.04, you can't tell "at any time". Quoting from the Amiga RKRM Libraries,
- pg. 390:
-
- "When the user selects a new choice from a set of mutually exclusive gadgets,
- the program will receive an IDCMP_GADGETDOWN IntuiMessage. Look in the
- IntuiMessage's Code field for the ordinal number of the new active selection."
-
- You must remember the state of the gadget.
- --
- // Michael B. Smith
- \X/ mbs@adastra.cvl.va.us -or- uunet.uu.net!virginia.edu!adastra!mbs
-