Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validation in grids
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00825044
Message ID:
00825181
Vues:
20
Hi Robin.
You can limit the actions of your users by putting the following code in the KeyPress event of the textbox.
if not inlist(upper(nKeyCode),'S','F')
   NoDefault
   wait 'Polite message' window
Endif
HTH
Kamil

>Want to put some validation in my grid:
>
>1) Want my column to be either S or F. Don't want to use a combo box cause this means click on the dropdown porton of it.
>
>So I put some code in the valid event of my text box in the column, to check if this.value$"FS ", if its not I want a suitable message to appear, seems to get stuck when the validation fails?
>
>Can't remember how to cause a message to be returned
>
>Thanks in advance
A moment of silence is our cosmic reset button.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform