>
> Hi,
> I would like to know how to convert (export) a form (SCX) to its
> equivalent
> procedural code. Please advise.
>
> I am using V.FoxPro 5.0. Is there a way to make a VCX from the resulting
> code?
>
> Terry Harris
> terryy@aol.com
Open your .scx with the Class browser (should be possible, since .vcx
and .scx files have identical structures), use View Class Code button.
copy the code generated and paste it into a .prg.
This is part of what I got for one of my forms with
do (_builder) with "zrob.scx"
after clicking the View Class Code button:
**************************************************
*-- Form: zrob (c:\vfp\proba\zrob.scx)
*-- ParentClass: maska (c:\vfp\prc\generall.vcx)
*-- BaseClass: form
*
DEFINE CLASS zrob AS maska
ScaleMode = 0
Top = 4.60
Left = 16.00
You can paste it from Browser.export window into any .prg you want.