>Hi I'm new to Foxpro and would like some help. :) I am porting code from FoxPro DOS version into VFP 3.0. I would like to know the difference between using Forms and Windows.
>
>This is because the previous programmer was using windows and changing to forms proved a very difficuilt task because I would have to take care of running the form using DO FORM instead of using *.SPX files. Moreover, closing and clean up as I understand is very different.
>
>Does anyone have a better way? Has anyone seen a better transport than that provided by VFP 3.0?
>
>your replies would be helpful :) Thanks !
>
>Best Regards
>Ian
Forms and windows practically same. Now there is not .spr .spx files instead code is maintained and run from .scx w/o generate.
Modify screen -> Modify form
Generate&run .spr -> do form
Now modify form and press red ! to run form to test, error occurs or exit button -> back to design mode.
Now "read" is replaced with "read events". In spelling they seem to be same but very different in what they're doing (only one read events normally):
* Main.prg
setup procs
menus etc
read events -> control passes to event processing system
rest of code -> Returned here when "clear events" encountered
------
*clear read -> release form (actually used as thisform.release)
Not easy at all to tell them all here and I might lead to some confusion.
You should spare sometime to understand the *new* language. Yes it's still FP but mostly in name compared to FP2.x. At first you'll think you're lost but as you learn it you'll love it.
For transportation there are some transporters that I don't know names and places, but my suggestion is to write from scratch.
Wizards and solutions.app, tastrade.app could be good start points to learn the new concept (and books such as Hacker's Guide to VFP3-Tamar E.Granor,Ted Roche).
Anytime you have a question UT members would help you at their best.
Good luck and wellcome to OOP.
Cetin