Micro Focus QTP (UFT) Forums

Full Version: Drag Drop from one MSFlexGrid to another MSFlexGrid
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have an MSFlexGrid that I am able to determine which row I want to drag and another MSFlexGrird which I am able to determine where I can drag to. I think what I need to do is to find the X and Y coordinates for each of the rows. If I use the .Object.GetROProperty("abs_x) and .Object.GetROProperty("abs_y) I think I am getting the coordinates of the grid not the row. How do I go about getting the coordinates for what I need?

Then is it a matter of just doing a .MouseDown, .MouseMove and .MouseUp from a .FireEvent?

Thanks for any help you can give me as I have been struggling with this for quite some time.