Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem releasing form with TreeView control
Message
De
03/09/1998 13:12:21
 
 
À
03/09/1998 13:10:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00132847
Message ID:
00132863
Vues:
12
John

If the TreeView control is last on the form, none of the other controls go away either. If its first, the rest all go away. This makes sense since the destruction occurs in reverse order...


>Fred ----
>
>Hmmmm....what does debug window show when this occurs? And are all the other controls being cleared out?
>
>
>>
>>Yes, I've tried to explicitly relese the TreeView control in the forms QueryUnLoad, Destroy, UnLoad and any other place that I could think of. It just doesn't always go away!
>>
>>>Have you tried to explicitly release the treeview in the QueryUnload event of the form?
>>>
>>>>VFP5a with SP3
>>>>
>>>>I have a form with a TreeView Control on it. About 20% of the time, when I try to close the form, it will not release. I have no outstanding object references in the form, it just won't release. I've tried TreeView controls both with and without ImageList controls. It seems that the TreeView control just won't release and that's what keeps the form from releasing. It does go away with a CLEAR ALL.
>>>>
>>>>Any tips on what I should be looking for to get around this?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform