Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I've had the same problem with valid events. As an alternative you can use the lost focus event. This allows the same validation logic without causing the user to be stuck when trying to cancel with invalid values. If an invalid value is entered, I blank out the textbox value and display a pick list of valid values. This allows the user to select a good value and save or cancel.
One way to "attach" a toolbar to a form is to put something like this in the form's init event:
Thisform.oToolBar=Createobject("toolbarclassname")
You'll still be in the same predicament with valid events though...
Précédent
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