Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@ 1,1 get
Message
 
To
13/03/2009 17:02:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01387917
Message ID:
01387919
Views:
40
>Hi All:
>
>Consider please the followng code:
>
>
>CLEAR
>
>lctest = ' ' 
>
>@ 2,2 get lctest valid tt(lctest)
>READ
>
>RETURN
>
>
>FUNCTION tt(bb)
>
>IF bb = 'v'
>	RETURN .t.
>ELSE
>	RETURN .f.
>ENDIF
>
>
>if the user presses 'x' 10 times, a wait-type window appears saying 'Invalid Input' and there is a delay until VFP processes the buffer to respond to a valid input (v).
>
>How can I:
>1. Suppress the 'Invalid Input' message
>2. Get rid of the delay
>
>Thanks,
>
>Yossi
>
>PS This is for a Clipper conversion project, so it is impractical to just replace all the @ commands with a VFP form.


From my CLIPPER days:
...
@ 2,2 get lctest PICTURE "X" valid tt(lctest)
...
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform