Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Form ToolBar
Message
De
13/04/2000 13:42:00
 
 
À
13/04/2000 13:03:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00359311
Message ID:
00359403
Vues:
10
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
Fil
Voir

Click here to load this message in the networking platform