Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd grid firing order?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00157108
Message ID:
00157122
Views:
19
>I don't know why this happens but it has caused me much grief, and gotten me some funny looks when I shake my fist and mutter at the monitor.

Hey, that sounds like me today :)

>I think that the thought process must have been something like:
>if you have code in the beforerowcolchange event that is supposed to validate values on that row, you probably want it to run before the user leaves the grid also. And if you want some code to run when a user enters anew row in the grid, it should run the for the first row that the user gets to as well. Not the way I would have done this, but that's the way it is...

I guess that could be the thinking...but of course, unless you know this, you probably won't code that way to begin with...although I've known about the "After" firing on focus, and used it to my advantage. But the "Before" at the grid exit caused me to have to establish a property and set it in the When to know if code in "Before" should fire (ugh!). Oh, well :)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform