Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling node EXPAND
Message
De
04/07/2001 13:44:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00526722
Message ID:
00526728
Vues:
13
>Hi,
>
>i have a form wich has a treeview control. I don´t want to allow some users to expand a node, how can I do that? I am using the Expand event, but it fires AFTER the node is expanded. How can I do that?
>
>TIA,
>
>Alonso

Alonso,
Unfortunately I don't know a better way too :(
In expand set node.expanded = .f. if it shouldn't expand. It works with a visual drawback.
If you know beforehand those nodes you could remove childs to prevent expand too.
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