Wb-FreeKill 0 Posted June 7, 2005 Searched the forum, could'nt find anything.. can i get the text of the TreeViewItem that im clicking? Share this post Link to post Share on other sites
Lazycat 13 Posted June 7, 2005 Yes it's possible with beta, using GUICtrlRead in advanced mode. Refer to help for it. Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Share this post Link to post Share on other sites
Wb-FreeKill 0 Posted June 7, 2005 Yes it's possible with beta, using GUICtrlRead in advanced mode. Refer to help for it.<{POST_SNAPBACK}>Then why aint this working for me?..#include <GUIConstants.au3> GUICreate("Test",200,200) $treeview = GUICtrlCreateTreeView(10,10,180,180) $item1 = GUICtrlCreateTreeViewItem("Item1",$treeview) $item2 = GUICtrlCreateTreeViewItem("Item2",$treeview) $item3 = GUICtrlCreateTreeViewItem("Item3",$treeview) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg > 0 Msgbox(0,"EventID",GUICtrlread($Item1,1)) EndSelect WEnd GUIDelete() ExitBtw - the script in the help file under "GUICtrlRead" and the script it opens when "open this script" button is pressed ain't the same.. Share this post Link to post Share on other sites