Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I create classes in a vcx programatically?
Message
From
20/12/2006 17:14:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
20/12/2006 16:51:01
Bill Drew
Independent Consultant
Chicago, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01179343
Message ID:
01179376
Views:
12
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform