Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem releasing form with TreeView control
Message
De
04/09/1998 05:51:02
 
 
À
03/09/1998 12:57:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00132847
Message ID:
00133162
Vues:
14
Hi Fred
Have you try to issue =sys(2333, 0) before creating treeview? (I.E.: in the load event of the form). This is necesary for the good behavior of treeview.
Then in the init event of the treeview (after instantiated) '=sys(2333, 1)'

Also if you want to leave form pressing 'esc' while the treeview has focus you must put this code in the keypress of the control

LPARAMETERS keyascii
if keyascii = 27
keyboard "{Esc}"
endif

Hope this help


>Hi all!
>
>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?
Saludos,
A.G.P.
---------
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform