Forum Discussion
1 Reply
- teddy77777ContributorNevermind figured it out. Should be:
LibraryTree["ClickItem"]("|["+m+"]|["+i+"]|["+j+"]|["+k+"]|["+x+"]");
If I use variables for clicking on a Treeview item by index it is not working. It always interprets the variable as a 0. If I use numbers instead of variables it works fine. Why?
Here is brief example of what I am doing.
LibraryTree = wxSysTabCtl32["panel"]["panel"]["splitter"]["panel"]["SysTreeView32"];
i=1;
j=1;
k=1;
x=1;
m=0;
LibraryTree["ClickItem"]("|
Thanks
LibraryTree["ClickItem"]("|["+m+"]|["+i+"]|["+j+"]|["+k+"]|["+x+"]");