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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement