Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A common toolbar, how
Message
 
À
22/05/2003 14:18:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00791800
Message ID:
00792052
Vues:
23
Jang,

The thing you really need is a forms manager in your framework. Using a forms manager entials never running any form directly rqather alwys calling amehtod of the froms manager to launch the form. You also use a form class for all forms that has code in the activate and deactivate events that calls the forms manager notifying it of receivning or losing the focus. The forms manager can then manage the toolbar by calling a t=method of the toolbar and passingf a refernce to the form that is receiving focus. teh toolbar's method can investigate the fomr that is recieving focus and set itself properly for that form.

Without using a forms manager this process becomes a nightmare of trying to figure out how to know what form is losing focus and what form is getting focus etc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform