Reputation: 11
I have a form and I would like to convert it to a program file How can I create a prg file with all the code from a vfp form
Upvotes: 1
Views: 4127
Reputation:
From the main VFP IDE menu:
Tools --> Class Browser
Click Open
(the yellow folder icon).
From the Files of type
drop-down, choose Form
.
Select the form you wish to open.
In the class browser, click View Class Code
(fourth icon from the left).
You can copy and paste this into a prg.
Note that the code will not always run as-is, it may need some re-working.
Upvotes: 3