Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NodeCheck Event
Message
From
16/05/2001 05:21:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00507685
Message ID:
00507711
Views:
11
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform