Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optiongroup class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00618798
Message ID:
00619126
Views:
10
I'm having the same experience with Optiongroups. I do not expect the properties of the contained options to be bolded after dropping the optiongroup on the form.

However, it would be wise to write a tool that defaults these properties for all options contained in an optiongroup. Although you still need to edit all forms that contain the optiongroup involved (if you can remember them all!), this will speed up the time you need for applying the corrections.

I hope it is possible to find out how to "default" the properties of the objects in code?

>I noticed that when you drop the opg class onto a form, it automatically bolds the top and left properties of the option buttons. That's just something VFP does automatically for any control you place on a form, though it really doesn't make sense for contained objects. But my advice in the last post will work still. Even though *you* didn't change the top/left props, you can still reset to default and have the option buttons use the values from the class!
>
>Steve
>
>>When I subclass the optiongroup control and put my new optiongroup class in a form everything is ok. But as soon as I modify anything in the class, the optiongroup in the form doesn't inherite the changes from the class.
>>
>>Ex. If I change the option1 and option2 buttons from vertical to horizontal, the optiongroups in the form still shows vertical. I need to go to each of the options inside the optiongroup in the form and reset to default the left and top values.
>>
>>Is this a BUG!
Christian Isberner
Software Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform