Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Modeless forms in a very large program
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01284682
Message ID:
01285478
Views:
20
>What is the difference between putting code in a form and having the code in a prg as far as OOP is concerned? I thought it would be the same.

The biggest difference comes into play if you try to use forms with private datasessions. If you create any objects in your .PRG before you call your PD form, those objects will be in a different datasession from the form and can't "see" the tables in use by your form. It all boils down to OOP concepts, which from your descriptions of problems with forms sounds like you need a better understanding of that before you can really continue and design things properly.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform