Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listview listitems remove memory leak?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Listview listitems remove memory leak?
Miscellaneous
Thread ID:
00979013
Message ID:
00979013
Views:
79
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
Next
Reply
Map
View

Click here to load this message in the networking platform