>>I've used the object ref utility and found no dangling references. I have 2 references where I know the form is stored and reference it in no other place. I can watch these 2 references go to .NULL. when the release is executed. I can always close the app without an error except when the focus is in one of the cells of the grid. Could Fox be holding the object reference just because of the focus?
>>-Deri
>
>I guess anything is possible. I've heard people say that having the focus on a grid has caused other problems, but I guess I've just been lucky and have never seen any problems with that.
>
>Try moving the focus to someother control before actually closing the form.
Fred,
I think all my recent problems are related with Focus on the grid. I looked through the code in the form of JobControl app and found several grid.SetFocus() commands. Especially one in form activate. This form has a pageframe with 4 pages and grid on each page. I spent several hours with this problem and it isn't resolved yet.
Just share my bitter experience here...
If it's not broken, fix it until it is.
My Blog