>When a grid gets focus, these fire, in this order:
>
>1) When
>2) Afterrowcolchange
>
>When a grid loses the focus, these fire, in this order:
>
>1) Valid
>2) Beforerowcolchange
>
>Anyone know why on earth After & Beforerowcolchange fire at these times? It seems contradictory, especially the Beforerowcolchange at the lost focus...
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.
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...
Erik Moore
Clientelligence