Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I change class of an object?
Message
De
25/01/2008 08:51:58
 
 
À
23/01/2008 10:23:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01284315
Message ID:
01285481
Vues:
27
When you Redefine (using the Class Browser), you are changing where the class inherit from (it's parent class). If you looking to do this on more of global scale, then you may have write a routine the ClassLib and Class fields of the objects in the SCX or VCX. If I understand the your problem correctly.

>I don't want to redefine the class library in the VCX. I want to redefine the class library of an object on a form.
>
>I can't redefine the class library for an object in a form when using the class browser.
>
>Or is there something that I did'nt understand in your reply. If that's the case excuse me.
>
>
>
>>>I hacked the table manually but I'm still hoping somebody will suggest a tool that will let me automate that task.
>>>
>>>>I have command buttons on a form.
>>>>
>>>>I changed some of the overall functionality of my app. What would be the easiest way to change the class and class library for those command buttons?
>>
>>Use the Class Browser. Open the class library, Select the class, right click to open the context menu, and select Redefine.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform