Hi All,
I just discovered something interesting that I thought I'd share.
A grid does not have an exposed lostfocus() method. It has one (turn on the event log when you move out of a grid, and you will see lostfocus() and deactivate() as logged methods of the grid), but it is either hidden or protected and not available to us.
But...
if you add a method called "lostfocus" to a sub-classed grid, the lostfocus() method is exposed and you can write code in it that is invoked when the grid loses focus.
Interesting....
Before I go crazy writing lostfocus() code, however, has anyone else used this trick and if so what are the problems, if any, that are going to bite me.
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.