Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why doesn't my listview get updated?
Message
 
À
25/02/2004 04:30:49
Jenny Karlsson
Megasol Technologies
Uppsala, Suède
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00880192
Message ID:
00880747
Vues:
14
>Hi Terry!
>
>Thank you very much for your answer, often big problems can depend on small errors, as in this case. I hadn't put the view property to 3. I guess I don't need to say I am a newbee at Foxpro :)
>
>After changing the property everyting works fine. Thanks again!
>Regards
>Jenny

I thought the VIEW may have been an issue. The OCX controls are really cool. One of contributors recently learned that Version 5 of the OCX are system controls, therefore XP themed.

It's good to see a newbie attack with the OCX!. It took me over a year to even start with them. My early forays were visual and had a lot of code. Now they are PRG classes and a lot less code.

ALlow me to suggest that [when you have time], try to evaluate the "key" feature of nodes. The Index method is a an easy way to add, but it changes as nodes are removed or added or sorted. I used to loop through the nodes to find some something, and then I learned, I could determine if a node existed by testing for it's key:
IF TYPE('Myform.MyListView.ListItems(lcProspectKey).key')==[C]
lets us know immediately if the node is in the list (works for tree view to!). The key can also be used to point back to (SEEK/SELECT) a DBF or SQL record!

Practice as much as you can with the OCX. Using them will enhance your projects and understanding of OOP.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform