Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible Ref Counter Problem with Column & Header Classes
Message
De
10/09/2003 10:52:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Possible Ref Counter Problem with Column & Header Classes
Divers
Thread ID:
00827858
Message ID:
00827858
Vues:
49
Hi All,

I attached a memberclass and memberclasslibrary .prg (column and header class definitions) to a grid class. I then used the same grid (in addition to other objects) on two pages of the same pageframe. When the form was released, my form's object reference counter array left dangling obj refs for the grid's column and header objects.

All of my UI base classes register themselves in a form object array and have modified destroy / release methods to assure all objects on a form are released before the form itself. I have used this method for years in my framework to check for dangling obj refs and have never had a problem.

While I have created a workaround, I'd like to know if anyone has had a similar problem.
- Jeff
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform