>>>Is it a known problem of the VFP grid control that its' When() event doesn't execute reliably? If so, why wasn't this fixed in SP3?
>>>
>>>The When() seems to get executed only once: when the grid first gets focus.
>>
>>That is exactly when the when is supposed to fire, as the grid is gaining focus and before it actually has focus.
>
>So how can we compensate for the missing grid.gotfocus() event?
Vidar,
The grid's when fires each time it gets focus. It does not fire during row changes, only after the grid loses focus and then regains it.
You can use the When for doing things you need to do when the grid is about to get focus.