Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OptionGroups
Message
De
05/04/2001 08:05:49
 
 
À
05/04/2001 07:18:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00491722
Message ID:
00492271
Vues:
17
>Can you post sample code of what is in your class and what is in your forms? There may be a better solution we can come up with.

To be honest sample code won't really help - there doesn't need to be any to cause the problem.
I have just recreated it by doing the following (all based on VFP's baseclasses)

Create a new project
Create a new class library
Add a OptionGroup into the library (with a buttoncount set to 0)
Create a New form & add the optionGroup Set it's buttoncount to 3
Save the form
Go back to the optiongroup in the classlibrary
Change the buttoncount to 10
Try and load the form - Error Member Option10 is not a class member

The problem I have is that we have code our form's Optiongroups and Optionbuttons so I have to leave them in place with (minimum) the correct number of buttons.
I can solve the problem by using the replies I have had from this thread - ie make my buttoncounts 10 in all my forms (by tweaking the SCX)

But the basic problem is that there is a bug in VFP

P.S. Win95 VFP6 SP4
Will Jones
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform