Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox VALID not firing?
Message
From
06/03/2000 00:10:56
 
 
To
05/03/2000 21:49:16
Jill Derickson
Software Specialties
Saipan, CNMI
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00341975
Message ID:
00341997
Views:
20
>I have a textbox, whose value is initialized to 0, with the following in the VALID:
>
>
 IF LASTKEY() = AscEsc
>  RETURN
>ENDIF
>
>lOK = .T.
>** check for legal values; set nRecsNeeded
>DO CASE
> CASE This.Value <= 0
>    WAIT WINDOW "Group size must be greater than zero"
>    RETURN .F.
>
>
>...followed by other cases in the CASE statement.
>


Have you verified that the valid is not running, or is it possibly escaping with the mouse because no other key has been pressed since escape was last pressed (on another form)?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform