Jump to content
Sign in to follow this  
AoRaToS

Treeview doubleclick item runs a function...

Recommended Posts

AoRaToS

Is the only way to do what I described using the position of the mouse on the control?I want to use it for childs in a Treeview, is there any way I could assign a double click function to all the childs created?only difference everytime will be a few variables...I haven't really understood the way with the posotion of the mouse, can someone help?maybe explain...


s!mpL3 LAN Messenger

Current version 2.9.8.8 [30/09/2015]

Download Here

s!mpL3

Share this post


Link to post
Share on other sites
AdmiralAlkex

See the example for _GUICtrlTreeView_Create() in the helpfile, it shows how to make treeview "react" when clicked.

Edited by AdmiralAlkex

Share this post


Link to post
Share on other sites
AoRaToS

Thanks allot, I've made some progress...What I want now is when I double click on the item it will return it's name, it's text, I can't get it to get the child's text, I'm using the example _GUICtrlTreeView_ClickItem, can someone edit it's code so that it returns a child's text (I'm using a variable so I need it to return the name each one I doubleclick has)


s!mpL3 LAN Messenger

Current version 2.9.8.8 [30/09/2015]

Download Here

s!mpL3

Share this post


Link to post
Share on other sites
AoRaToS

Bump...

Anyone that can help?

How can I return the name(text) of a Treeview child when I doubleclick on it?I want to double click on a child--->run a function that uses the child name...


s!mpL3 LAN Messenger

Current version 2.9.8.8 [30/09/2015]

Download Here

s!mpL3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×