Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing memberclass for an optiongroup
Message
From
22/02/2005 14:32:53
 
 
To
21/02/2005 10:29:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00988854
Message ID:
00989368
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform