Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox with numerical value in a range
Message
 
 
À
22/06/2011 17:50:46
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01515561
Message ID:
01515607
Vues:
60
>>Hi everybody,
>>
>>What is the simplest way to ensure that the textbox value I can enter is within 0-32,767 range?
>>
>>I see RangeLow/RangeHigh methods, but may be I just need to code Valid method instead?
>>
>>Thanks in advance.
>
>return between(this.value, 0, 32767)

Yes, I added code in the Valid method of the textbox.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform