Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Can You Have One Tool Bar for Multiple Forms?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00090336
Message ID:
00090977
Vues:
28
>>I can also see how one can do away with a lot of public variables by making them properties of the main public object.
>
>Ah, another sheep has joined the flock. That realization is one of the toughest sells I have when teaching students about application frameworks in VFP. Most 2.x developers have a hard time letting go of the old notion of having many PUBLIC variables throughout the application. Welcome to the party!

Thank you for the welcome! This aspect of OOP has eluded me for MONTHS and it was always a mystery to me. Suddenly, it's like someone removed the blindfold. Now, it seems so simple and sensible. It's also a lot easier to maintain. For example, if I have code called "oToolbar.Reset()", which I do, I don't need to hunt around my source code for where "FUNCTION RESET" is residing. Now, I can go straight to the class library! I like it!

Michael Reynolds
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform