|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Add objects already on form to GroupboxIn VB6, I already have a groupbox on my form and some checkboxes that are
on the form but not in the groupbox. How can I add them to the Groupbox? I move them on top of the groupbox and they don't move with the groupbox. Thanks, Tom "tshad" <t***@pdsa.com> wrote in message I don't know what you mean by "groupbox"? Presumably you mean a Frame news:OEUB1m3lJHA.3760@TK2MSFTNGP03.phx.gbl... > In VB6, I already have a groupbox on my form and some > checkboxes that are on the form but not in the groupbox. > How can I add them to the Groupbox? I move them on top > of the groupbox and they don't move with the groupbox. Control or a Picture Box? If so then just click one of the CheckBoxes so that it becomes selected and use the Edit / Cut menu (or Ctrl X or press the scissor icon). Then click the Frame Control (or PictureBox) to select it and then use the Edit / Paste menu (or Ctrl V or press the paste icon). Repeat for the other check boxes. Alternatively you can move them all together by clicking one CheckBox (to select it) and then holding down the Ctrl key whilst clicking each of the other Check Boxes in turn. This will select them all. Then use the Edit / Cut menu and then click the Frame Control (or PictureBox) to select it and then use Edit / Paste. Using this method some of the CheckBoxes may be out of view within the Frame if the check boxes are widely separated, so it is best to move them fairly close together on the Form before doing the above. If you do that then you will also be able to select them all more easily by simply dragging a bounding box around them using the mouse. Mike That work great.
Thanks, Tom Show quoteHide quote "Mike Williams" <M***@WhiskyAndCoke.com> wrote in message news:Ome3Dy3lJHA.5532@TK2MSFTNGP06.phx.gbl... > "tshad" <t***@pdsa.com> wrote in message > news:OEUB1m3lJHA.3760@TK2MSFTNGP03.phx.gbl... > >> In VB6, I already have a groupbox on my form and some >> checkboxes that are on the form but not in the groupbox. >> How can I add them to the Groupbox? I move them on top >> of the groupbox and they don't move with the groupbox. > > I don't know what you mean by "groupbox"? Presumably you mean a Frame > Control or a Picture Box? If so then just click one of the CheckBoxes so > that it becomes selected and use the Edit / Cut menu (or Ctrl X or press > the scissor icon). Then click the Frame Control (or PictureBox) to select > it and then use the Edit / Paste menu (or Ctrl V or press the paste icon). > Repeat for the other check boxes. > > Alternatively you can move them all together by clicking one CheckBox (to > select it) and then holding down the Ctrl key whilst clicking each of the > other Check Boxes in turn. This will select them all. Then use the Edit / > Cut menu and then click the Frame Control (or PictureBox) to select it and > then use Edit / Paste. Using this method some of the CheckBoxes may be out > of view within the Frame if the check boxes are widely separated, so it is > best to move them fairly close together on the Form before doing the > above. If you do that then you will also be able to select them all more > easily by simply dragging a bounding box around them using the mouse. > > Mike > > Also, I am trying to put a label onto the groupbox, but no matter what I do,
the label is always behind the groupbox. I send the groupbox to the back and bring the label to the front but the label is behind the groupbox. Thanks, Tom Show quoteHide quote "tshad" <t***@pdsa.com> wrote in message news:OEUB1m3lJHA.3760@TK2MSFTNGP03.phx.gbl... > In VB6, I already have a groupbox on my form and some checkboxes that are > on the form but not in the groupbox. > > How can I add them to the Groupbox? > > I move them on top of the groupbox and they don't move with the groupbox. > > Thanks, > > Tom > "tshad" <t***@pdsa.com> wrote in message See my previous response regarding the CheckBoxes. Do the same thing with news:u8e9f03lJHA.1216@TK2MSFTNGP02.phx.gbl... > Also, I am trying to put a label onto the groupbox, but no > matter what I do, the label is always behind the groupbox. the Label. Mike That also worked well.
Thanks, Tom Show quoteHide quote "Mike Williams" <M***@WhiskyAndCoke.com> wrote in message news:ubdg853lJHA.3792@TK2MSFTNGP04.phx.gbl... > "tshad" <t***@pdsa.com> wrote in message > news:u8e9f03lJHA.1216@TK2MSFTNGP02.phx.gbl... > >> Also, I am trying to put a label onto the groupbox, but no >> matter what I do, the label is always behind the groupbox. > > See my previous response regarding the CheckBoxes. Do the same thing with > the Label. > > Mike > > >
Stupid Format$ Question
OT: Win 3.1 IE menu extension Office 2003 installer pops up when loading a project Should Reg-free COM still utilise an installation procedure? Save Picture Q Unsigned C long to signed VB5 Long query. Search a Combobox Gradient Windows Update KB960715 blocks MSFLXGRD.OCX!!!!! Any solution ? |
|||||||||||||||||||||||