Hi Team,
I have a property\Item which is in SwfTreeView object. I need to DRAG a particular property from that SwfTreeView object and DROP it to a Particular row in a SwfTable object.
Currently, apart from co-ordinates i am unable to find other properties which can do this task.
Hello,
For dragging items between two controls you will need to use the drag and drop methods with x and y coordinates.
Let me know if you have any questions with this matter.
Hi,
I used Drag and Drop methods with x and y co-ordinates is not working. Is there any other method or property by which i can perform this action.
Please provide me with the swftypename of the tree and grid that you are dragging between as well as how your developers implemented the drag and drop logic between the controls.
Ravindra,
Please find out from your developers if the Clientname.ClientNameTreeClass.ClientNameSearchResultsTree derives from the UltraTree and if the ClientName.SetUp.ExposureGrid derives from the UltraGrid.
Also I still would like to know how drag and drop was implemented for the interaction between the controls.
Swftypename for swftreeview object is "Clientname.ClientNameTreeClass.ClientNameSearchResultsTree"
Swftypename for swftable object is "ClientName.SetUp.ExposureGrid"
Let me know if you want any more details.
The drop in the grid will need to be done using Drop x y, Note that I am not sure if the drag will work correctly this way since it wasn't initiated by QTP simulating mouse actions so the left button of the mouse may not actually be down when the mouse is moved and if this is the case the drag may still fail. If you find that it fails, then I would still want the information that I requested so that I can do testing on my own.