Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for a good-looking and controllable treeview
Message
De
27/04/2011 09:50:55
 
 
À
27/04/2011 09:11:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01508493
Message ID:
01508526
Vues:
73
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform