[Lazarus] VirtualTreeView: Expand/Collapse without OnNodeClick

Balázs Székely getmem1 at gmail.com
Tue Sep 6 17:22:50 CEST 2016


>>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.


More information about the Lazarus mailing list