exeCutive Posted April 18, 2014 Report Share Posted April 18, 2014 helloI have a treview with dcx, which have the following list:1 itemsub item 1item 2sub item 2but the identifier $ xdid (). text does not work.$ xdid (treeview, 1). text = Item 1$ xdid (treeview, 2). text = Item 2$ xdid (treeview, 3). text = Item 2 --- >> should show the error!Any solution for this? Regards Link to comment Share on other sites More sharing options...
Pablo Posted April 21, 2014 Report Share Posted April 21, 2014 (edited) First of all it would be nice to have all the code. Second, why do you have spaces between $ and xdid and . and text? Not good. Third, you will have an additional identifier inside of the (). As stated in the help file, you will need tree and branch. The parameter you are using as 1 2 and 3 should be the control item number. So if you created the TREEVIEW with XDIALOG (I think) then the first # would be the number you used. Syntax: $xdid(dialog, ID, PATH).text Example: $xdid(dcx, 4, 1 2).text $xdid(treeview, 1, 1).text$xdid(treeview, 1, 2).text$xdid(treeview, 1, 3).text ^^ Is more of the format.. And Finally, $xdid().text only RETURNS a value. to SET a value (as you are doing in =), you need to do a xdid command. Read up on the docs and download a script like 'Dreams' for Buzzen to get an example. Edited April 21, 2014 by Pablo Link to comment Share on other sites More sharing options...
exeCutive Posted April 21, 2014 Author Report Share Posted April 21, 2014 Thanks for responding.The errors you mention was my mistake in the translation to English.TreeviewITEM1SUB-ITEM1SUB-ITEM2ITEM2SUB-ITEM1SUB-ITEM2 $xdid(treeview, ID, 1).text = ITEM1 $xdid(treeview, ID, 2).text = ITEM2 $xdid(treeview, ID, 3).text = ITEM2 > repeats item 2 indefinitely. How can I solve that problem. ??regards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now