Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No lost focus event in grid :-(
Message
From
06/08/1999 14:23:56
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
06/08/1999 13:48:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00250792
Message ID:
00250809
Views:
13
>I need to execute some code when a grid loses focus (I know it's actually a control inside the grid that has the focus). The grid's valid event is fired even when just changing rows or columns. So, how can I tell when the focus leaves a grid (and not just moving between controls within the grid)? I really don't want to have to put my code in the gotfocus of everything else.

Joel,
I don't believe you are correct. The Valid() fires only when you leave. If you are trying to debug, you may be seeing effects of the debugger. If you put a DEBUGOUT PROGRAM() in the Valid(), you'll see it only fires when you leave...which is just what you want.
Charlie
Charlie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform