Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another Treeview question (hopefully the last one)
Message
De
31/10/2001 16:03:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00575243
Message ID:
00575867
Vues:
29
Just got VFP 7. Installed it and it seems to be working. :)

>That sounds wierd. Maybe try rebooting. I use the nodecheck and it works the way you think it should.
>
>>Thanks for your reply. I tried it and it worked. I also put the expanded property to good use also. But I have another question now. (Sorry I am currently using VFP 5 - there is no object browser - ordered VFP 7 yesterday though) How does the nodecheck event work? Shouldn't it fire if the user clicks on a checkboxe? I think it was behaving that way earlier, but now nothing happens. (I put in messagebox('hello') in the nodecheck event, but when you check it at run time nothing happens)
>>
>>Thanks,
>>Chris
>>
>>>>Hi,
>>>>
>>>>When I'm initializing a treeview control (with checkboxes set to .t.) is there any ways I can make certain check boxes appear with check marks while others do not?
>>>>
>>>>Thanks,
>>>>Chris
>>>
>>>Yes, when you add a node get a refrence to it like this:
>>>
>>>loNode = Thisform.oleTreeView.Nodes.Add(,,,,)
>>>*add the checkmark
>>>loNode.Checked = .T.
>>>
>>>Or you can do this.
>>>Thisform.oleTreeView.Nodes(i).Checked = .T.
>>>
>>>FYI: You can also do the same with the Node Objects "Expanded" property to automatically expand a branch.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform