TTreeView HotTrack? lazarus / 31-LCL ---------------------------------------------------------------------- ned_flanders · 2013-09-27 20:21 How can I get the Treeview to show a handpoint cursor and underline the node the mouse is above? I have a lot of treenodes and it would make navigating the tree a bit more friendly to the user. Imagine a hyperlink in your webbrowser, I would like the same for treenodes in a TTreeview. I thought Hottrack would do it but for me it does not seem to do anything. Thanks. ---------------------------------------------------------------------- wp · 2013-09-27 20:43 Turning on the Option tvoHotTrack (or just setting HotTrack to true) underlines the node underneath the mouse. Not sure about the hand cursor, though. ---------------------------------------------------------------------- Mike.Cornflake · 2013-09-27 21:30 Been a few years since I was on Linux, but HotTrack was not implemented on GTK2.  Which OS are you on? ---------------------------------------------------------------------- wp · 2013-09-27 21:41 Win - see footer ---------------------------------------------------------------------- Mike.Cornflake · 2013-09-28 04:03 Quote from: wp on September 27, 2013, 11:41:24 pmWin - see footer Excellent :-)   But I was actually asking the OP, as he was the one with the Hot track issues.  I suspect he's trying with the GTK2 implementation. ---------------------------------------------------------------------- zeljko · 2013-09-28 08:05 Quote from: Mike.Cornflake on September 28, 2013, 06:03:55 amQuote from: wp on September 27, 2013, 11:41:24 pmWin - see footer Excellent :-)   But I was actually asking the OP, as he was the one with the Hot track issues.  I suspect he's trying with the GTK2 implementation. Problem is not in LCL  but in Gtk2. ---------------------------------------------------------------------- ned_flanders · 2013-09-28 11:22 Tried in Windows running Lazarus v1.0.12 also and does not seem to be working Tested in a new empty project, added a treeview and added nodes at designtime, turned Hottrack on and tvoHotrack is true in options, still no hottrack when running the project ---------------------------------------------------------------------- BigChimp · 2013-09-28 11:24 When asking these kinds of questions, it's always useful to - mention Laz+FPC+OS version (ok, win+Laz 1.0.12+FPC 2.6.2) - include a sample project as a zip if possible (project/publish project, zip up, attach to post) See first link in signature. thanks. ---------------------------------------------------------------------- ned_flanders · 2013-09-28 11:50 you're right BigChimp and normally I would, for some reason mentioning those details eluded me this time ---------------------------------------------------------------------- BeniBela · 2013-10-02 20:26 You might want to try my TTreeListView. It should support hottracking (although I have never used it) ---------------------------------------------------------------------- Zoran · 2013-10-03 12:53 Quote from: BeniBela on October 02, 2013, 10:26:36 pmYou might want to try my TTreeListView. It should support hottracking (although I have never used it) Don't forget that it is released under GPL, which means that we cannot use it unless our software is also under GPL. ---------------------------------------------------------------------- BeniBela · 2013-10-03 22:33 All software should be under the GPL It is evil otherwise ---------------------------------------------------------------------- taazz · 2013-10-04 00:48 GPL should be treated as religion be proud that you support it but do not try to shove it down my throat. ---------------------------------------------------------------------- BigChimp · 2013-10-04 07:34 Quote from: BeniBela on October 04, 2013, 12:33:47 amAll software should be under the GPL It is evil otherwise Could you stop making these wild claims? I agree with what taazz said. ---------------------------------------------------------------------- Zoran · 2013-10-04 08:14 Quote from: BeniBela on October 04, 2013, 12:33:47 amAll software should be under the GPL It is evil otherwise Then do not use RTL, do not use FCL, do not use LCL, they are evil. ---------------------------------------------------------------------- BeniBela · 2013-10-04 10:40 Quote from: Zoran on October 04, 2013, 10:14:47 am Then do not use RTL, do not use FCL, do not use LCL, they are evil. Do not worry, I do not. I have my own implementation for almost everything