Treeview problem

BlitzMax Forums/MaxGUI Module/Treeview problem

Sanctus(Posted 2006) [#1]
Is there a way to know when I duble-click on an item of the treeview to make letz say a window come out?
I'm making a map editor and I wanth to have a treview that contains all the stuff and when I duble click on a item a window pops and I can modify variables
So is there a way to know when I duble clicked or do I have to use timers?(witch I wonth enjoy)


SebHoll(Posted 2006) [#2]
If I remember correctly, EVENT_GADGETSELECT is generated when a node is single-clicked, and EVENT_GADGETACTION is generated with a double-click.

So basically all you need to do is process EVENT_GADGETACTIONs from the treeview for double-click events.