Forum Discussion

awhawh's avatar
awhawh
Contributor
4 years ago
Solved

Issue with Drag action. Out of bounds

Hi,   Can someone help me with an issue I'm getting with the Drag action   I'm working with a DevExpress list box control which enables the user to drag and drop an item in the list. I firstly fi...
  • AlexKaras's avatar
    4 years ago

    Hi,

     

    var x = listBox.MousePosition.X

    MousePosition seems to be a native method/property of listBox object. What does it return?

    Note, that .Drag() method in TestComplete requires object-relative bit not screen-relative coordinates. See documentation for more details.