Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spinner Keyboard High and Low Values
Message
From
09/04/2005 10:54:41
 
 
To
08/04/2005 18:27:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01002839
Message ID:
01003029
Views:
25
Fabio,

I'm not getting any message displayed with your code when a valid age is already entered and the user tries to enter a value out of the range.

>>Hi,
>>
>>is there an event that I can use to inform the user that they have entered a value that is beyond the keyboardhigh and keyboardlowvalue of a spinner?
>>
>>What is happening is these properties get set dynamically based on the selected data. If the user enters a value that is outside of the range, there is no message or indication of what is wrong, the user just cannot move off the control.
>>
>>This is the first time I'm using spinners in over 10 years of Fox and VFP.
>>
>>Thanks,
>
>
>* RangeLow
>IF m.this.Value<m.this.KeyboardLowValue
&gt;	MESSAGEBOX("too much low")
&gt;ENDIF
&gt;RETURN m.this.KeyboardLowValue
&gt;
&gt;
&gt;* RangeHigh
&gt;IF m.this.KeyboardHighValue<m.this.Value
&gt;	MESSAGEBOX("too much High")
&gt;ENDIF
&gt;RETURN m.this.KeyboardHighValue
&gt;
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform