Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar and modal form problem
Message
De
14/11/2004 19:27:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00961287
Message ID:
00961288
Vues:
4
>When a user opens a modal form. all items of the top menu are grayed (which is good). But the buttons of the application toolbar are still accessible. That is, while a modal form is open, user can click on a button of the toolbar. Is there a way to prevent it?
>
>Thank you.

I would consider this a feature, not a bug, because there may be options in the toolbar which you need to access.

You could hide the toolbar when the modal form opens.

Another option might be to do additional checks in the Click() of each CommandButton (or of those CommandButtons which you consider inappropriate for modal forms).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform