Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OptionGroups
Message
De
04/04/2001 03:42:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
OptionGroups
Divers
Thread ID:
00491722
Message ID:
00491722
Vues:
35
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform