By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,476 Members | 889 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,476 IT Pros & Developers. It's quick & easy.

Add controls to option group

P: n/a
Hi.

I created an option group using the wizard. I included 3 option buttons.
An option group (in general) can be enabled or disabled completely
(includung option buttons and their respective labels) when enabling or
disabling the frame around the option group. This is quite handy, since
not every individual control inside the otion group has to be enabled or
disabled.

Now, I need to add 3 text boxes to the 3 option buttons. I would like to
be able to enable or disable those at the same time I enable or disable
the frame around the option group.

Is that possible?

TIA

--
Georges
Nov 12 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Georges Heinesch wrote:
Now, I need to add 3 text boxes to the 3 option buttons. I would like to
be able to enable or disable those at the same time I enable or disable
the frame around the option group.


Cut every textbox and Paste when you have selected the option group (the
outline). This will set their Parent property to the option group (that
is what you need).

--
Bas Cost Budde
http://www.heuveltop.org/BasCB
but the domain is nl

Nov 12 '05 #2

P: n/a
Bas Cost Budde wrote:
Georges Heinesch wrote:
Now, I need to add 3 text boxes to the 3 option buttons. I would like
to be able to enable or disable those at the same time I enable or
disable the frame around the option group.


Cut every textbox and Paste when you have selected the option group (the
outline). This will set their Parent property to the option group (that
is what you need).


Are you sure this works with textboxes and comboboxes▀

I tested it the way you described, and indeed, it works for labels, but
not for textboxes and/or comboboxes.

Can you confirm that?

TIA

--
Georges
Nov 12 '05 #3

P: n/a
Georges Heinesch wrote:
Are you sure this works with textboxes and comboboxes▀

I tested it the way you described, and indeed, it works for labels, but
not for textboxes and/or comboboxes.

I am afraid you are right and I am wrong. Now there is nothing wrong
with being wrong, of course, but I thought I helped, and I didn't.

You have to use code to enable/disable those controls. Bummer.

--
Bas Cost Budde
http://www.heuveltop.org/BasCB
but the domain is nl

Nov 12 '05 #4

P: n/a
Bas Cost Budde wrote:
You have to use code to enable/disable those controls. Bummer.


Thanks for the confirmation!

--
Georges
Nov 12 '05 #5

P: n/a
Chuck Grimsby wrote:
Personally, what I've done in this case is to export the form using
Application.SaveAsText and then used NotePad to add in the controls I
needed. It's kind of a bizarre work around, but it works every time!

(While in there, I've almost always noticed a few other things that
needed fixing as well!)


Can you explain how "... using Application.SaveAsText ..." is done?

Thanks!

--
Georges
Nov 12 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.