Atozed Forums
TIWTreeView - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWTreeView (/thread-1313.html)



TIWTreeView - pdinsd - 10-13-2019

Is there anyway to disable a node from being clickable? I have a treeview where some nodes are info only, and should not be clickable.


RE: TIWTreeView - Alexandre Machado - 10-24-2019

you can assign OnClick event handlers to individual nodes in your tree. The nodes which have an event assigned are clickable. The others are not.

Please make sure you assign OnClick even handlers to the nodes, not to the tree view itself. If you assign an OnClick to the treeview, all nodes become clicable.