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
505
ClickCell & DoubleclickCell events
posted

Hi, I implemented both UltraGrid _ClickCell() and _DoubleClickCell() event handlers.  However when I double-clicked the cell or the row, _ClickCell always intercepted the event and fired, and _DoubleClickCell never fired.  I am using 2008 Version 3 UltraWinGrid.UltraGrid control.  I would like to have the _ClickCell event handler fired when the cell is clicked, and _DoubleClickCell event handler fired when the cell is double-clicked.   I believe something needed to allow the Control to distinguish a single click from a double.

Parents
No Data
Reply
  • 469350
    Offline posted

    Since a double click is two clicks, Click will always fire before DoubleClick. It's the same for any control.

    The control cannot see the future, so when it gets a click message, it does not know that there will be a second click coming or not. :)

Children