Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OptionGroups
Message
From
04/04/2001 03:42:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
OptionGroups
Miscellaneous
Thread ID:
00491722
Message ID:
00491722
Views:
36
Hi All,

I'm having a problem with option groups...
All our controls on forms have a yellow background when they have focus - set by Gotfocus & Reset in Lostfocus

Except for OptionGroups.. I can make the optiongroup behave in the same manner by making the buttonCount 10 and adding the gotfocus & lostfocus code into each optionButton (with some code to remove unused buttons in the init)

But when I try and load a form which already references this object (with a buttoncount set to 3), the form will not load :
Error loading file - record number 7... ButtonCount : Member Option10 is a class member
If I set this form's buttoncount to 10 then change the baseclass it works fine.

I suspect I need to add these optionButtons programatically, but how can this be done when I already have 100's of forms with optionGroups on them?

TIA
Will Jones
Next
Reply
Map
View

Click here to load this message in the networking platform