Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining a specific value to a textbox
Message
 
À
08/09/2000 16:09:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00414394
Message ID:
00414399
Vues:
25
In the controls Valid event:
THIS.Value = MIN(THIS.Value, 20)
>I am still new to VFP. I am using VFP 3.0.
>My question is that when using a textbox and I
>want to set the value that is entered to be equal to
>or less than 20. I know that I could setup a mesagebox
>on the form to tell the user that the value that they
>entered is too high but I don't want to use that if I don't
>have to. I know that the input mask can set it to only allow two digits to be entered. Any ideas?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform