General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
>>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)
And of course there the less-obvious version (that a person who codes VFP as if writing in assembler might write)...
return bitand(this.value,bitnot(0x7fff))==0
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only