Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactivechange lost focus
Message
From
17/09/2008 07:08:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Interactivechange lost focus
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348152
Message ID:
01348152
Views:
83
Hi all
I have textbox (name txtgettype) with the following code in 'interactivechange'.
txtgettype.interactivechange code:
local ctype,cright
cright=thisform.txthideright.value
ctype=alltrim(this.value)
do case
	case len(ctype)<>4
		return
	case int(val(ctype))<>int(val(cright))&&Here the problem
		*	This.Value=''
		messagebox('Wrong typing, Try Again Please!',0+16)
		return
	case ctype==crigh
		*do...
endcase
The problem is that I vfp lose the textbox focus in the SECOND case.
Help please (remember that I dont lose the focus in the first case only in the second).
Thank you
Chaim
Next
Reply
Map
View

Click here to load this message in the networking platform