Thread View: comp.os.ms-windows.programmer.tools
4 messages
4 total messages
Started by Barry G. Adams
Tue, 15 Dec 1992 14:16
Visual Basic 1.0 frame problem
Author: Barry G. Adams
Date: Tue, 15 Dec 1992 14:16
Date: Tue, 15 Dec 1992 14:16
14 lines
1216 bytes
1216 bytes
I have been trying to create a frame in VB 1.0 and then put some option buttons on it. First I design the frame and then I put the option buttons on it. However, as soon as I click on the frame at design time the option buttons disappear behind the frame and the only way to get them back seems to be to use tab. Everything works fine at run time. Is there some magic key combination that lets me associate the buttons with the frame so that when I move the frame the buttons move too and do not disappear. There is nothing in the manuals on this. There is obviously a way to do it since there is a demo program called prnt.mak that is in the vb.cbt directory used by the VB tutorial that works properly. Barry Adams (barry@ramsey.cs.laurentian.ca)
Re: Visual Basic 1.0 frame problem
Author: Brian S. McCarthy
Date: Wed, 16 Dec 1992 14:33
Date: Wed, 16 Dec 1992 14:33
37 lines
2387 bytes
2387 bytes
In article <1992Dec15.141608.13565@ramsey.cs.laurentian.ca> barry@ramsey.cs.laurentian.ca (Barry G. Adams) writes: >From: barry@ramsey.cs.laurentian.ca (Barry G. Adams) >Subject: Visual Basic 1.0 frame problem >Date: Tue, 15 Dec 1992 14:16:08 GMT > I have been trying to create a frame in VB 1.0 and then put some > option buttons on it. First I design the frame and then I put > the option buttons on it. However, as soon as I click on the frame > at design time the option buttons disappear behind the frame and > the only way to get them back seems to be to use tab. Everything > works fine at run time. > > Is there some magic key combination that lets me associate the buttons > with the frame so that when I move the frame the buttons move too and do > not disappear. There is nothing in the manuals on this. There is obviously > a way to do it since there is a demo program called prnt.mak that is in the > vb.cbt directory used by the VB tutorial that works properly. > > Barry Adams (barry@ramsey.cs.laurentian.ca) I think I found the answer to both your problem and my own. The key word is "draw". You can't just "put" the buttons on the frame, you must "draw" them on. The way to do it is to click _once_ on the toolbox icon for option buttons, then click down on the frame you've just created and drag over it until you have created an option button of the proper size. This also works with other types of objects. You can associate regular push buttons with a frame and they also move around with the frame. --------------------------------------- Any opinions expressed here are mine alone, and are not those of my employer or anyone else. Brian McCarthy United Technologies Research Center East Hartford, Connecticut (203)727-7638 bsm@utrc.utc.com ---------------------------------------
Re: Visual Basic 1.0 frame problem
Author: Galen Raben
Date: Wed, 16 Dec 1992 16:40
Date: Wed, 16 Dec 1992 16:40
22 lines
1610 bytes
1610 bytes
In comp.os.ms-windows.programmer.tools, barry@ramsey.cs.laurentian.ca (Barry G. Adams) writes: > I have been trying to create a frame in VB 1.0 and then put some > option buttons on it. First I design the frame and then I put > the option buttons on it. However, as soon as I click on the frame > at design time the option buttons disappear behind the frame and > the only way to get them back seems to be to use tab. Everything > works fine at run time. [...] > Barry Adams (barry@ramsey.cs.laurentian.ca) When you "put the option buttons on it" are you dragging them in from elsewhere? In order to get VB to properly associate option buttons on a particular frame (form or picture object) the option button must be created WITHIN the frame. Click on the option button tool once, then draw the option button within (or on) your frame (click, drag, release)... Apologies for the "back to basics" response, however it is easy to use the shortcut double click on a tool to create the option buttons - but it doesn't propery associate the button with any frame (except your primary form)... Hope this helps... - Galen -
Re: Visual Basic 1.0 frame problem
Author: Jeff Meyer
Date: Fri, 18 Dec 1992 18:48
Date: Fri, 18 Dec 1992 18:48
14 lines
1250 bytes
1250 bytes
One brief addendum: you can also put controls (buttons, listboxes) in a
frame by Cutting the control; selecting the frame; and then Pasting. This
will place the control "in the frame".
"The best argument against democracy is a five
minute talk with the average voter."
-- Winston Churchill
---
Moriarty, aka Jeff Meyer
INTERNET: moriarty@tc.fluke.COM
Manual UUCP: {uunet, uw-beaver, sun, microsoft}!fluke!moriarty
CREDO: You gotta be Cruel to be Kind...
**>> Keep circulating the tapes <<**
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads