Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox with numerical value in a range
Message
 
 
To
22/06/2011 17:50:46
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01515561
Message ID:
01515607
Views:
59
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform