home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / tools / 1724 < prev    next >
Encoding:
Text File  |  1992-12-16  |  2.2 KB  |  47 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!spool.mu.edu!sgiblab!rtech!ingres!jonm
  3. From: jonm@Ingres.COM (Don't Judge a book by your cover)
  4. Subject: Re: VB option buttons inside frames?
  5. Message-ID: <1992Dec16.164437.13635@pony.Ingres.COM>
  6. Summary: 
  7. News-Software: VAX/VMS VNEWS 1.41    
  8. Keywords: VB, option buttons
  9. Organization: University of Arizona MIS Department - Mosaic Group
  10. References: <bsm.5.0@utrcv1.res.utc.com>
  11. Date: 16 Dec 92 16:44:37 GMT
  12. Lines: 33
  13.  
  14. In article <bsm.5.0@utrcv1.res.utc.com>, bsm@utrcv1.res.utc.com (Brian S. McCarthy) writes...
  15. >Hi,
  16. >"Note  If you want to create more than one group of option buttons, you 
  17. >must place some of them inside frames or picture boxes.  All the option 
  18. >buttons inside any given frame constitute a separate group, as do all the 
  19. >option buttons inside a picture box.  When creating a separate group this 
  20. >way, always draw the frame or picture box first, then draw the option 
  21. >buttons."
  22.  
  23. The reason is because only one option button may contain a value of '1' at
  24. any time.  You can overcome this by grouping them in separate areas. 
  25. Therefore each will have a value of 1 in its own area.
  26.  
  27. >I followed these instructions exactly.  When I try to click on any of the 
  28. >option buttons inside my frames or picture boxes, nothing at all happens.
  29.  
  30. You may not be setting them to 1 to start with.  Try clicking on any one and 
  31. click on anpther.  It should now change.  Each sub-frame will have its
  32. own perception of which option is set.
  33.  
  34. >What do I need to do to make two or more separate groups of option buttons 
  35. >work?
  36. +---------------------------------------------------------------------------+
  37. |Jon Machtynger (jonm@ingres.com)                                           |
  38. |Ingres Technology Centre. Wharfedale Rd,                                   |
  39. |Winnersh, Wokingham. Berks UK.   (0734)-496525                             |
  40. +---------------------------------------------------------------------------+
  41. | Ahhh Brisbane, people actually get paid to work there... in the sun with  |
  42. | all that fresh air and cheap petrol.... Or so ledgend has it              |
  43. +---------------------------------------------------------------------------+
  44.