Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I create classes in a vcx programatically?
Message
De
20/12/2006 17:14:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
20/12/2006 16:51:01
Bill Drew
Independent Consultant
Chicago, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01179343
Message ID:
01179376
Vues:
13
>>Frankly, any of these would work as methods of transport; it's more the matter of what's easier for you in development, i.e. which is easier to maintain.
>
>Your suggestion helped. I made a sample class by hand and compared it to the one that I had generated and found that I also needed to fill Reserved3 with a list of properties and methods and I had to add a line to the Properties field for "Name=" the name of the class.
>
>Really appreciate your attention!

Maybe a .prg would be simpler - just
text textmerge to lcPrgtext noshow
define class <<classname>> as custom

<<lcProperties>>

<<lcMethods>>
enddefine
endtext
strtofile(lcPrgText, lcPrgFile)
compile (lcPrgFile)
And you get your fxp. But since we don't need to turn this into another "prg vs vcx" thread, whichever works for you is OK.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform