Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Classes
Message
From
09/10/2000 17:31:43
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00426858
Message ID:
00427062
Views:
29
Thanks for the reply... I did not explain what I want to do very well...

I have a subclass of a subclass of a grid on my form. I want to change the definition of that control on that form to the subclass of the grid... ie. up one step of the subclass ladder... I don't think that changing the class definition in the vcx will do the trick for me... I may be wrong...


>Open class browser.
>
>Open class library that contains class required to be changed to map to another parent class.
>
>Right click on that class and choose 'Redefine...'.
>
>Choose class you want by '...' button and press 'Redefine'. You're done.
>
>HTH.
>
>>I tried the class browser but no luck... If you remember how let me know'
>>
>>Thanks
>>
>>>I remember there is a way for doing so in the Class Browser.
>>>
>>>>Is there a simple way to change the class of an object? I have for example a grid class and a sub class of the grid class. I see now that the added functionality of the second subclass should be in the base subclass. So I want to change the reference from the subsubclass to the subclass. Is there a slick way to do this? I have tried and opended up the form as a table but that doesn't always work out when i change it manually....
>>>>
>>>>
>>>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform