home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17365 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.2 KB

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