473,806 Members | 2,565 Online
Bytes | Software Development & Data Engineering Community
+ 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 5379
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.Sav eAsText 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.Sav eAsText ..." 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
15626
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 only <option> tags is fairly easy and there is plenty of material on the net to assist with this. However, I have searched long and found the material on the subject of <optgroup> to be sparse, with a few posts here & there, but basically you're...
6
2706
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 http://www.lebans.com/DownloadFiles/A2kTooltip.zip So far the classes work perfectly, except that now I need to extend it to support other controls besides the ones given in the example form. I have gotten it to work with some controls, but not others. I...
16
7240
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
12361
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 contains multiple panels within the form. The panels appear at different times - for our argument, let's say panel 1 appears first, users clicks a submit button and then panel 1 disappears and panel 2 appears, etc. When clicks on the submit button...
5
3737
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. When the user clicks the "Add another email" it will call a client side JavaScript function, add_email, which will dynamically add a new set of controls to the webpage using the innerHTML method. It appears to work perfectly fine in the browser. The...
4
8962
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
2380
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 the index property for buttons. Is there a way in vb.net to refer to a group of controls in a way that includes a unique index number for the specific control to be used? Thanks, Howard Haisten
16
2959
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 formula for page size gets bounded from below by number of controls times number of currencies. Which means that 1) the page must be produced on the fly in order to be consistent, 2) the data to be transmitted can grow excessively because the...
4
3890
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, Shilpi
0
9597
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10372
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5682
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.