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

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!spool.mu.edu!caen!destroyer!gumby!yale!actcnews!sun1x!charongw.res.utc.com!bsm
  3. From: bsm@utrcv1.res.utc.com (Brian S. McCarthy)
  4. Subject: Re: Visual Basic 1.0 frame problem
  5. Message-ID: <bsm.7.0@utrcv1.res.utc.com>
  6. Keywords: VB, draw
  7. Lines: 37
  8. Sender: news@sun1x.actc.res.utc.com
  9. Nntp-Posting-Host: 192.19.3.94
  10. Organization: United Technologies Research Center
  11. References: <1992Dec15.141608.13565@ramsey.cs.laurentian.ca>
  12. Date: Wed, 16 Dec 1992 14:33:27 GMT
  13.  
  14. In article <1992Dec15.141608.13565@ramsey.cs.laurentian.ca> barry@ramsey.cs.laurentian.ca (Barry G. Adams) writes:
  15. >From: barry@ramsey.cs.laurentian.ca (Barry G. Adams)
  16. >Subject: Visual Basic 1.0 frame problem
  17. >Date: Tue, 15 Dec 1992 14:16:08 GMT
  18. > I have been trying to create a frame in VB 1.0 and then put some
  19. > option buttons on it. First I design the frame and then I put
  20. > the option buttons on it. However, as soon as I click on the frame
  21. > at design time the option buttons disappear behind the frame and
  22. > the only way to get them back seems to be to use tab. Everything
  23. > works fine at run time.
  24. >
  25. > Is there some magic key combination that lets me associate the buttons
  26. > with the frame so that when I move the frame the buttons move too and do
  27. > not disappear. There is nothing in the manuals on this. There is obviously
  28. > a way to do it since there is a demo program called prnt.mak that is in the
  29. > vb.cbt directory used by the VB tutorial that works properly.
  30. >
  31. > Barry Adams (barry@ramsey.cs.laurentian.ca)
  32.  
  33. I think I found the answer to both your problem and my own.
  34. The key word is "draw".  You can't just "put" the buttons on the frame, you 
  35. must "draw" them on.  The way to do it is to click _once_ on the toolbox 
  36. icon for option buttons, then click down on the frame you've just created 
  37. and drag over it until you have created an option button of the proper size.
  38.  
  39. This also works with other types of objects.  You can associate regular push 
  40. buttons with a frame and they also move around with the frame.
  41. ---------------------------------------
  42. Any opinions expressed here are mine alone,
  43. and are not those of my employer or anyone else.
  44.  
  45. Brian McCarthy
  46. United Technologies Research Center
  47. East Hartford, Connecticut
  48. (203)727-7638
  49. bsm@utrc.utc.com
  50. ---------------------------------------
  51.