Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save a class as a form
Message
 
 
À
30/11/2008 23:01:39
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01364752
Message ID:
01364773
Vues:
13
>>>I just need to save a form class as a form. I'm trying to convert something and just can't take the time to deal with the relationship between the class and the form right now. I just want a form, but I need all the stuff that's in the class.
>>
>>Well, the relationship is not a particularly complex one. You just invoke with CreateObject() or NewObject() instead of DO FORM. Particularly, you don't need to create a form based on the form class.
>
>I wasn't clear enough. This is a form class with lots of custom stuff in it. Not the native form. I just want to turn the VCX into an SCX.

By custom stuff do you mean extra properties and methods or extra controls? In any case, hacking seems to help.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform