Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Daryl,
>>
>>Some people put these types of checks in the code in front of the Save button (GotFocus) rather than the code leaving the text box.
>>
>>
>>>i have a form that has textboxes and commandgroups on it. one textbox is a reference box which needs a valid reference, that is working (i use the valid event). but my problem is if this box has the focus and i try to abort the entry by clicking on a cancel button, the valid of the textbox still runs which i want to stop.
>>>
>>>can any one help?
>>>
>>>thanks
>>>
>>>
>>>daryl
>
>
>You can also play a trick whereby the gotfocus event of one control validates the control that previously had the focus. This way it is easier to stop the cancel button from performing the validation.
>
>Mace
This is great, until the user decides to skip around in the entry form.
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