I have a screen having the tree control having the object name as MSComctlLib.TreeCtrl.2.
The data in that MSComctlLib.TreeCtrl.2 is editable as how we rename a folder name in windows (by clicking slowly).
How to capture or write script for this, when i need to rename that name...?
I am giving the code that is captured..
set_window ("Reference", 1);
obj_mouse_click ("MSComctlLib.TreeCtrl.2", 19, 6, LEFT);
edit_set ("Edit", "Product No1");
In the above script "Reference" is the window name.
Pls give me a solution to solve this..
SQT - Associate.
Map your treeview control to this control "systreeview32", using Tools->GUI Map configuration.
It generates a code which u need to copy and put it in ur startup script.
Learn the control again and update ur GUI Map file accordingly.
Now u can use list_ functions to select desired item from the tree and u can as well use edit statements to rename them.