Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listview listitems remove memory leak?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Listview listitems remove memory leak?
Divers
Thread ID:
00979013
Message ID:
00979013
Vues:
76
My project has a listview control. Another [parent] form points to an active "record".

The listview form has a spinner that changes month/year. When the month/year is the same as the active record in the parent form, a method highlites the row that matches the active parent form record.

I can add nodes to the listview [child] form and flip through month year (on the listview form) and the row will highlite when the month year matches the "active" record in the parent.

However, should rows be "Removed" from the Listview - the month/year action will not highlite the listview rows (nodes). The nodes are there but TYPE does not recognize the as an object - thus the hightlite is skipped.

The desired behavior can be "reset" by clicking a node/row on the listview.

I have googled a bit and even substituted bogus list node keys for the existing node keys before they are removed. I have tried refresh. Inserted "Object" too! Setfocus!

Here is the test that fails (it works on all other situations):
If type("myform.myListview.ListItems(key).key")==[C] (key or text can be used)

Thank you
Imagination is more important than knowledge
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform