Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert VCX Form to Form
Message
From
10/07/2009 12:14:52
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/07/2009 17:34:39
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01410429
Message ID:
01411428
Views:
235
>Cecil,
>
>it could be I am misunderstanding your problem, but does
>
>
>create form myForm as myForm from ? 
>
>
>not work for you|?

I think this is not it - the form would be subclassed. A simple trick like this, though, would do (in command window):
modify class {myformclass here}
ASELOBJ(aa,1)
ox=aa[1]
ox.saveas("myformclass.scx")
For once, I tested this and you get a form with all the PEMS intact, same as the class. You can even build a dataenvironment object and pass (a reference to) it as the second parameter in .saveas(), and it will be saved as the DE in your scx.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform