Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
DoubleClick in UltraListView
posted

Hi all!

I have a little problem using the doubleClick with an UltraListView. I would like to take an item from the list by double-clicking to bring the text from the item to an UltraLabel.

The problem is that if a make repeated clicks on the scroll bar from the control it takes as if it was a double-click in the control and takes the last selected item from the list.

I have tried to solve this problem using the location property what it was not successful, anybody can guess which could be the solution to this trouble?

Thanks in advance!

Parents
No Data
Reply
  • 69832
    Offline posted

    You can handle MouseDoubleClick and use the ItemFromPoint method to find the item at the cursor position. Note that the method will return null if there is no item at the cursor position.

Children