Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid behavior
Message
 
To
12/10/2005 14:02:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01058375
Message ID:
01058380
Views:
10
>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
Next
Reply
Map
View

Click here to load this message in the networking platform