Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem releasing form with TreeView control
Message
From
03/09/1998 13:18:52
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00132847
Message ID:
00132867
Views:
15
Hi Fred --

OK, so the other controls (sometimes) are being destroyed and the form locks up on the treeview.....what about debugger information?


>
>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?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform