Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spinner Keyboard High and Low Values
Message
De
09/04/2005 11:06:31
 
 
À
09/04/2005 11:04:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01002839
Message ID:
01003032
Vues:
29
Thanks Fabio,

you were right, I had a typo in my code which resulted in my message not getting displayed. Thanks a bunch.

>>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.
>>
>
>Frank,
>
>RangeXXXX occur when the user try to abandon the spinner.
>If you want a interactive message,
>put these test/messages into InteractiveChange event.
>
>
>>>>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")
>>>ENDIF
>>>RETURN m.this.KeyboardLowValue
>>>
>>>
>>>* RangeHigh
>>>IF m.this.KeyboardHighValue<m.this.Value
&gt;>>	MESSAGEBOX("too much High")
>>>ENDIF
>>>RETURN m.this.KeyboardHighValue
>>>
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform