Information générale
Catégorie:
Codage, syntaxe et commandes
Depends on what is the ControlSource.
You could add a form property like form.currentvalue and set it to the control.value on control.gotfocus. Then on valid event you will be able to compare form.currentvalue with control.value and react appropriately.
>Is there a property to set which will allow the triggering of the Valid() event if and only if the value of cell of a text or combo box has changed?
>
>For example the user tabs into the cell and then tabs out I would only wish that the valid() event be performed if the user changed the value while in the cell. If the user made absolutely no change I wish the valid not be performed.
>
>Is there a simple solution for this?
>
>Thanks in advance!
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