Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't release
Message
De
05/07/2002 13:07:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00675141
Message ID:
00675703
Vues:
13
Craig,

Are you using any Treeview/Listview active-x controls? I had a situation where I had sub-classed the listview control and used a FOR-EACH loop to move through the items collection and ran into the same thing (VFP7). I posted it here on the UT back in February, received responses but no resolutions. Then one day in May, I received an e-mail from Jim Saunders (Microsoft) with a link to a new KB article (which I've deleted of course). Three months later - Impressive.

The workaround was simple:
local oCollection
oCollection = oList.ListItems()
for each oItem IN oCollection
   ...
next
Something wierd with the for-each through the collection directly caused a dangling reference. Who knew! Hope this helps - if nothing else, it's soemthing else to chase around for a while.

Regards
~Erik Folley
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform