Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing toolbars
Message
De
11/07/2003 01:04:49
 
 
À
10/07/2003 04:34:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00808690
Message ID:
00809108
Vues:
29
>Hi,
>
>>>
>I just wanted to know what is the recommended way to refresh a toolbar:
>- Timer
>- Inserting code in thisForm.init() and thisForm.destroy() methods.
>>>
>
>It depends...
>If the same toolbar is servicing multiple forms then I think that probably the best place is in the Form.Activate/Deactivate events.
>
>Regards,
>Viv

You are right, activate and deactivate methods make more sense. The toolbar is servicing the whole application, so it has buttons related to forms and others that relate to miscelaneous things (like save as, send to ..., cut-copy-paste, ...), and these buttons are the ones who change more from enabled to disabled (think of the cut-copy-paste).

Thanks,
Javier.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform