Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disallowing checking of nodes in Treeview
Message
De
22/06/1999 05:42:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Disallowing checking of nodes in Treeview
Divers
Thread ID:
00232371
Message ID:
00232371
Vues:
43
Making a wrapper for the Treeview object, I'v stumbled over a problem. I'd like to be able to disallow checking of individual nodes in the tree, and have so far not been able to do this.
I've tried using the NodeCheck() event of the Treeview and setting the .Checked property of the passed node, but as soon as the event terminates, the node is again checked. Even the UI is checking, unchecking and checking back. Nice event handling... :-(
In the NodeCheck event, I've also tried adding NODEFAULT, returning .F., calling DOEVENTS() and trying _VFP.AutoYield but nothing has worked. Don't think I've tried every combination of this, but...
The only way I can think of now is making a hack using a timer, but that's something I'd really like to avoid.
Is there something I've missed?

Thankful for any ideas on this...

Arne
Répondre
Fil
Voir

Click here to load this message in the networking platform