Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid behavior
Message
From
12/10/2005 14:31:51
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01058375
Message ID:
01058387
Views:
10
Thanks guys. I think that will work. I was not familiar with lastkey().

>>I would like to execute a program (*.prg) when the user exits a textbox via the return key but not trigger the program if he tabs or clicks out of the textbox. Any ideas on how to do this?
>
>Don,
>
>Try this in Textbox.LostFocus
>
>
>IF !MDOWN() AND LASTKEY() = 13
>   * Do your prg here.
>ENDIF
>
>
>HTH
>
>Sorin
Previous
Reply
Map
View

Click here to load this message in the networking platform