Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with activecontrol
Message
De
03/08/2006 05:50:17
 
 
À
03/08/2006 05:28:50
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01142405
Message ID:
01142624
Vues:
9
thank you very much

>>I tried it but i get the same value eather for ENTER or mouse click,or better when I click the mouse it acts like if i hit the enter key...
>>... anyway i'm a step beyond :-)
>
>You can test the active control in KeyPress with KeyPreview = .T.
>
>
>IF nKeyCode = 13
>	IF TYPE('thisform.ActiveControl') = 'O'
>		IF thisform.ActiveControl.Name = '{grid}'
>			thisform.{pageframe}.{page}.SetFocus
>
>		ENDIF
>	ENDIF
>ENDIF
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform