473,395 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

option group - adding a caption once the option group is made

5
I have a form that has multiple option groups on it. When I created the form I copied the option groups and then changed the data source for them. But there now doesn't seem to be a caption for any of the copied option groups. I need to refer to the caption property of these groups for a data checking code.

I have looked on the properties page but caption is not on the list any more. I have put a caption on the variable in the table design but this doesn't appear for the option group on the form.

I know I could recreate all the option groups with the wizard but this would be a very big job, and the form doesn't actually have room for all the captions to actually be visible so I am not sure if this would work in the long run.

How do I assign a caption to these groups now?
Or is there a way to use VB code to assign a caption?
Aug 7 '07 #1
2 2443
Scott Price
1,384 Expert 1GB
Apologies, but it looks like your question got lost in the shuffle.

As far as I know the label over an option group is just that: a label. It isn't associated in any way to the option group frame, and so must be treated as a separate object. If you click on the original label of your option group that you copied, you will be able to confirm this by looking at it's name property. It will accept whatever caption you choose to add to it, just like any other label.

Hope this explains a bit of your confusion. Likely when copying and pasting your option group over, the original caption didn't come with the copy.

Regards,
Scott
Aug 26 '07 #2
Scott Price
1,384 Expert 1GB
Also, I'm not sure why you need to refer to the caption(s) of the option group... The characteristic of an option group is that it only returns one numeric value... It only allows one choice in it's radio buttons/checkboxes etc, from which it reads a numeric value.

To programatically require that a label is added to all new controls inside the option group frame, you would use the .AutoLabel method.

Regards,
Scott
Aug 26 '07 #3

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

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...
2
by: Robin | last post by:
I need to add a checkbox to the common dialog control for opening files. I know it is possible to customize the common dialog thru API. But the sample codes I have seen were too long and...
7
by: Shyguy | last post by:
I have an option group with about 30 options. I would like to have the Option Labels get their text from a table. Is this possible, and if so how? Also, is it possible to embad a font into a...
11
by: MLH | last post by:
Why is that? If I choose the tiny check boxes which are hard to hit with a mouse, it works fine. But option buttions, shich can be sized big enough for people with limited sight and dexterity...
5
by: tsnyder | last post by:
I need to have an option button that allows editing to a field only when it is checked.
7
by: sparks | last post by:
When you enter an option group you can move to each option with the arrow keys and select with the space bar. Option groups don't have keydown events so has anyone come up with a way to allow...
2
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,...
0
by: Alan Mailer | last post by:
When adding a new Menu to a VB6 application, a developer had the option of designating the Menu as a 'WindowList' Menu. By choosing this option at Design time, it enabled this particular menu at...
3
by: BarbaraB | last post by:
Is there anyway of returning the value of an option group (in access 2003) back to what it was before any entry was made? I frequenty find people are wishing to remove there answer but with an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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,...
0
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
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...

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.