Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a class from a form object
Message
 
 
To
07/03/2008 12:00:10
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01299761
Message ID:
01299771
Views:
9
>I have a button from which I want to create a class. How can I do that?

Hmmm, have something like this
text to lcClassDefinition noshow
   define class myClass
    ....
endtext
 
strtofile(lcClassDefinition, 'myProgram.prg')
compile myProgram.prg
From the top of my head and not tested.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform