Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing memberclass for an optiongroup
Message
De
22/02/2005 14:32:53
 
 
À
21/02/2005 10:29:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00988854
Message ID:
00989368
Vues:
17
Fabio --

Same question, but for pageframes ... I'd like to add my own class for pages ... is there a similar trick for naming this class?

Thanks,

Jim

>>I have a VCX which has a class based on "optiongroup". Previously, it did not have a setting for memberclass (so I got default members).
>>
>>I have learned how to set memberclass for this vcx so that I can use my own class for the option buttons.
>>
>>However, I did not understand the implications for this, as it now appears that in any use of my class for "optiongroup" all of the option buttons get reset to their defaults, meaning that I've lost any methods or properties added to them. (And lost them permanently if I opened and re-saved the form).
>>
>>So, my question: How do I transition my uses of this class in existing forms so that I don't lose my previous information? I'd much rather not have to create new objects and try to manually copy my methods/properties, but hacking the SCX doesn't seem obvious.
>>
>>Thanks in advance,
>>
>>Jim
>
>Hi James,
>define the OptionButton memberclass name to "Option".
>
>Fabio
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform