Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with activecontrol
Message
From
03/08/2006 05:50:17
 
 
To
03/08/2006 05:28:50
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01142405
Message ID:
01142624
Views:
16
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
>
Previous
Reply
Map
View

Click here to load this message in the networking platform