Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interactivechange lost focus
Message
De
24/09/2008 09:25:03
 
 
À
17/09/2008 07:18:40
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
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:
01350163
Vues:
16
You resolved it.
Thank you
>Hi Chaim,
>
>I think that you could to put your code in Valid method and to do a Return .F. when you don't want to get out the control (lost foucs).
>Good luck!
>
>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform