Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C5 error when exiting app in develoment mode
Message
 
 
À
30/01/2001 15:04:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00464802
Message ID:
00470479
Vues:
62
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform