Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I create an empty class?
Message
De
11/12/2003 14:12:12
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
11/12/2003 13:51:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00858157
Message ID:
00858275
Vues:
15
>>I have a non-visual application object that is based on the Custom VFP baseclass. I want to try to change it to an Empty baseclass since it is supposed to be better for this type of thing.
>>
>>I read in the help file that the latter cannot be done visually, but I could not find an example of how to create an empty class in code.
>>
>>Anyone care to share some sample code on how I go about doing this?
>>
>>TIA
>>
>>Regards,
>>
>>Mike
>
>Your best bet is probably line or relation if you want a light weight class. Line if you want it in a VCX, relation if you want it programatically.
>
>If you are going to addobject() stuff to your app object you will need to use a container.
>
>But, I don't really see a problem using custom, this is what it was designed for.
>
>You might want to take a look at this http://fox.wikis.com/wc.dll?Wiki~TestMemoryCreateDestroy~VFP
>
>BOb



Hi Bob,

Thanks for the info and link.

Regards,

Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform