Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save a class as a form
Message
De
01/12/2008 08:26:11
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
01/12/2008 06:13:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01364752
Message ID:
01364812
Vues:
15
>>>>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.
>
>That I understood - I just wanted to point out that there are other alternatives. As I see it, you can do one of the following with a form class:
>
  • Convert the form class to a form - what you are trying to do, but apparently there is no built-in way to do it.
    >
  • Create a derived form and run it.
    >
  • Invoke the form class directly, with a CreateObject().

    Yes, the first one, but you seem to be right; there is no built-in way to do it.
  • Précédent
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform