Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit Mode no more?
Message
De
28/10/1999 15:40:26
 
 
À
28/10/1999 15:33:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00283324
Message ID:
00283368
Vues:
15
FWIW, here is the typical scenario in my forms:

Toolbar before change:
First: Enabled
Previous: Enabled
Next: Enabled
Last: Enabled
Search: Enabled
New: Enabled
Save: Disabled
Undo: Disabled
Delete: Enabled
Close: Enabled

Toolbar when the user has changed a value:
First: Disabled
Previous: Disabled
Next: Disabled
Last: Disabled
Search: Disabled
New: Disabled
Save: Enabled
Undo: Enabled
Delete: Disabled
Close: Disabled

When the user save or revert the change, the toolbar go back to it's first state.
>But how do you solve the "irrelevent enabled controls" problem? For example, is your Undo and/or Cancel button always enabled? That's my problem; I get downright anal about controls not being enabled that have no function depending on the current form state. In a permanent edit mode, you have to get cute with the interactivechange of your parent classes.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform