Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Modeless forms in a very large program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01284682
Message ID:
01285478
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform