473,473 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Add controls to option group

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
5 5355
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
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
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
Bas Cost Budde wrote:
You have to use code to enable/disable those controls. Bummer.


Thanks for the confirmation!

--
Georges
Nov 12 '05 #5
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stewart | last post by:
Dear comp.lang.javascript, I have more than once wanted to manipulate the contents of select boxes dynamically, whilst the boxes contain <optgroup> tags. Manipulation of a select box containing...
6
by: Robert | last post by:
Hello. I have been trying out the Lebans ToolTip Classes at http://www.lebans.com/tooltip.htm, to display "balloon" style help tips in a form. The classes I am using are located at...
16
by: TD | last post by:
This is the code under a command button - Dim ctl As Control For Each ctl In Me.Controls If ctl.BackColor <> RGB(255, 255, 255) Then ctl.BackColor = RGB(255, 255, 255) End If Next ctl
2
by: Michael | last post by:
Need some help trying to read values from web controls - specifically *finding* the controls (like a drop down list) - that are added dynamically added within an asp:panel control. The page...
5
by: Dennis Fazekas | last post by:
Greetings, I am creating a web form which will all the user to add an unlimited number of email addresses. Basically I have 3 buttons, "Add Another Email", "-" to remove, and a "Save" button....
4
by: deko | last post by:
Basic question about checking the value of Toggle/Check/Combo/OptionGroups.... Checking like this: If Me!chkCheckBox Then ... End If and like this:
9
by: jax1148 | last post by:
In vb6 a group of controls ie command buttons could be refered to by an index number ie cmdWord(4). This was accomplished by using the index property of the control. Vb.net does not seem to have...
16
by: =?iso-8859-2?Q?K=F8i=B9tof_=AEelechovski?= | last post by:
I need a form control for the user to enter currency symbol. A select control seems to be fit for that purpose; but the problem is that the control must appear on the page several times so the...
4
by: shilpichaudhry | last post by:
Hi: I need to have controls in groupBox, which should not be clipped as per the size of the group box. so if they are longer, the control like a text box should appear (unclipped) Thanks,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.