Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I create an empty class?
Message
De
11/12/2003 11:19:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/12/2003 11:13:23
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00858157
Message ID:
00858164
Vues:
17
>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
loEmpty = NewObject('myEmpty','myNonVis.prg')

*myNonVis.prg
define class myEmpty as Empty
enddefine
Was this what you asked ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform