>>Still I am wondering why such a workaround is needed at all. >>The NodeClick-event should not be fired when nodes are just expanded/collapsed. Did you try the OnFocusChanged event instead of OnNodeClick? You can replace the OnNodeClick functionality in most cases(depends on the specific code though).
-- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-VirtualTreeView-Expand-Collapse-without-OnNodeClick-tp4049464p4049468.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
