473,490 Members | 2,488 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Expandable option group?

365 Contributor
Hello,

Is it possible to create an option group/frame that reacts to data in a table?

So that as things are added to said table the option group (on a form) would automatically expand.

Is this possible?

Thanks
Mar 29 '10 #1
8 3173
ADezii
8,834 Recognized Expert Expert
I imagine that it would be possible, but rather difficult since you would have to dynamically create the Controls within the Option Group, position them Vertically, then Resize the Option Group itself for each new condition You may be better off displaying the Maximum Number of Options, then Enabling/Disabling them depending on specific circumstances.
Mar 29 '10 #2
Dan2kx
365 Contributor
yeah sounds like a minefield, ill just have to do it the boring easy (less dynamic) way..
Thanks anyways...

Dan
Mar 29 '10 #3
ADezii
8,834 Recognized Expert Expert
If I get a chance, I'll flirt around with the idea. What would probably make it even more difficult is that you would have to 'Bind/Attach' the Controls to their Parent Option Group while positioning them within the confines of the Group.
Mar 29 '10 #4
Dan2kx
365 Contributor
If its too difficult then i wouldnt trouble yourself, i thought it might have been easy, i thought (briefly) the wizard could read from a table and obviously not...
in my current scenario i doubt that it the table would be updated, i just wonderered/wanted it for complete-ness, im sure you can understand that...

Dan
Mar 29 '10 #5
NeoPa
32,556 Recognized Expert Moderator MVP
I had a quick look at the other available controls, but couldn't see one to cover this. Maybe a google for MS Access controls would yield something, but be careful to avoid ACLs (Access Control Lists).
Mar 29 '10 #6
ADezii
8,834 Recognized Expert Expert
How about an Unbound Sub-Form consisting of a Yes/No Field and your Variable Number of Options within a 2nd Field? You can easily change the number of Records in the Sub-Form depending on your specs by modifying the Record Source, write code to make sure that only a single Yes/No Field is selected, then manually write the Value to a Table depending on the Option chosen. A little extreme, maybe? (LOL). I made a feeble attempt to dynamically create a Variable number of Options within a Group, and I feel as though it would be quite difficult, at least for me.
Mar 29 '10 #7
NeoPa
32,556 Recognized Expert Moderator MVP
@ADezii
Uh oh. If ADezii says that it's a good chance this is something to avoid.
Mar 29 '10 #8
Dan2kx
365 Contributor
LOL, definately not worth spending time on then...
Mar 29 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

4
6020
by: Doug | last post by:
Hi - I'm looking to code some javascript that has an event handler tied to an image ("a down arrow") that will expand code that was hidden on the page load. It's pretty simple, I have an...
3
15601
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...
0
1040
by: Pradeep | last post by:
Hi all, When i change an expandable property of an object from the property grid, the set method of that property is not being called, where as the set methods of its sub properties are being...
0
5544
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control...
5
2347
by: KitKat | last post by:
I've got two queries; one is a modification of an older query; the other I created from scratch. The old one is about 5 copies down the road from something that has been expandable when I'm in...
1
9146
by: axlq | last post by:
I've seen a lot of examples of expandable/collapsable lists, such as these nice examples: http://www.karlnelson.net/nestedlists/ and http://dynamicdrive.com/dynamicindex1/navigate1.htm They...
2
20206
by: Thelma Lubkin | last post by:
I've been unable to find code for adding an option to an option group. I did find this instruction on a site called softlookup.com: "If you want to add another option button to an option group,...
2
7647
by: JB | last post by:
Hi All, I've been using MsgBox function in VB for years and now that I've moved to .NET, I'd like to do something a little bit more fancy. I would like to create a message box that can be...
8
2698
by: Don Li | last post by:
Honestly have not touched CSS for years, so, back to square one on this... What I'd like to do if possible with CSS is this: create a layout that is shrinkable or expandable when a user drag it,...
1
3677
by: Manil | last post by:
I usually have no problem with Firefox, but here is a rare instance of IE displaying a table with image slices correctly and Firefox adding space where I seemingly have none. Is there anything I can...
0
6967
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
7142
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,...
0
7352
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...
0
5445
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,...
1
4875
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...
0
4565
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
3078
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
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1383
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 ...

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.