Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NodeCheck Event
Message
De
16/05/2001 05:21:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00507685
Message ID:
00507711
Vues:
10
>Hi,
>
>I have a treeview with checkboxes. There are situations where the user CAN'T uncheck a node. When he unchecks a node, a decide if he can do it in the nodecheck event. If the node must remain checked, i check the node (wich the user unchecked) and display a messagebox. The problem is that when the messagebox closes, the check mark (that I've placed in nodecheck event) dissapears, and the node seems unchecked. Is this the type of situation like "You can't call the release method from the init method when running a form! It won't work!!" . How can i do this??
>
>TIA
>
>Alonso

Alonso,
You could simply set it back to checked. node.checked = .t.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform