Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple toolbar
Message
De
10/02/2000 14:05:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00329823
Message ID:
00330220
Vues:
29
It is keeping track of the number of instances of a toolbar. The form calls the application class which instantiates the toolbar and store the value of 1 to a property in the application class. Next time I use a form using the same toolbar it calls the application class see that the counter is greater than 1 so need to instantiate and increments the counter to 2. Then in the unload of the form it calls a method in application class which release the toolbar if the counter is equal to zero otherwise it stays. In each of the click event it calls methods in the form such as _screen.active.movenext(). I just need some way to keep track of move than one toolbar.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform