Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looking for a good-looking and controllable treeview
Message
From
27/04/2011 09:50:55
 
 
To
27/04/2011 09:11:23
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01508493
Message ID:
01508526
Views:
71
>>Why don't you use the CheckBoxes property ? see image attached
>
>Use the checkbox or not, that is the question!
>
>This would come as a replacement for the current way of handling stuff in the application. Via a standard listbox using Ctrl and Shift for multiple values.
>
>>There's an activeX event NodeCheck that occurs when an item is checked or unchecked. If it's a branch you can check/uncheck all branches and leaves below
>
>The checkbox is certainly an option but the checkbox will to be need to be displayed selectively for at some levels down the tree structure depending on the data structure (which is highly recursive).
>
>Do you think that is possible? I have not used the stuff recently and I just tried a few tricks and found no way for this.


(1) I do not think it's possible to set checkboxes selectively

(2) You could try the standard ms way (ctrl, shift) etc, but I think you have to roll your own, ie
- do not use checkboxes then
- change the node's backcolor to a different value when it is selected
- you'll have to write code to handle ctrl and shift (click), ie change the nodes' backcolor
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform