Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interactivechange lost focus
Message
De
26/09/2008 06:48:08
 
 
À
17/09/2008 07:08:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01348152
Message ID:
01350896
Vues:
29
Such kind of code belongs to the Valid event!

>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).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform