user3263121
user3263121

Reputation: 11

Convert FoxPro form to a program file

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

Answers (1)

user2261248
user2261248

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

Related Questions