Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView enable / disable nodes and leaves?
Message
De
08/07/2004 15:12:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/07/2004 13:55:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00922126
Message ID:
00922174
Vues:
24
This message has been marked as the solution to the initial question of the thread.
>I'm using a treeview as an alternative to a menu.
>
>Like in a menu, some items are not always available, and should be disabled and enabled according to rules in the program.
>
>Is this possible?
>
>TIA

Peter,
You can simulate :
-Set forecolor to gray
* oNode.Forecolor = rgb(172,168,153)
-In tree.Mousedown save selectednode
-In NodeClick if it's a disable node select saved one and return
If aDisabledNode
this.SelectedItem = this.SavedNode
return

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform