Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If I define class in a .prg file. F

Status
Not open for further replies.

jlucio

Programmer
Mar 20, 2001
13
MX
If I define class in a .prg file. For Example:

Forms.Prg
*******************
DEFINE CLASS MyForm AS Form
Height = 400
Width = 640
. . . etc.
ENDDEFINE
********************
I have already the class definition. Suppose that my new library is NewLib.
How can I save my first class in this new library?

Thank You
JLucio
 
jlucio

I have already the class definition. Suppose that my new library is NewLib.
How can I save my first class in this new library?


It would be quite a trick to pull, since the library is a table itself, it probrably lot faster to re-create your form as a class. Unfortunately I don't think there is any magic trick like that. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
jlucio

Although you can save an actual form as a class. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
jlucio

If your intention is to convert a PRG to a VCX, then

Link to checkinto VFP ZONE
and search for a file PrgToVcx (It is a Zip file.)
Download that .. unzip it.. and that is quite easy to convert your PRG to VCX.

Hope this helps you :) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Ramani:
Thanks for the tip, but I couldnt find the PrgToVcx zip file.
JLucio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top