Author Topic: Double click without click  (Read 4999 times)

andresp

  • Guest
Double click without click
« on: August 17, 2012, 10:12:32 AM »
Is there any way to avoid OnClick events of being triggered at the same time as OnDoubleClick ones?

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Double click without click
« Reply #1 on: August 17, 2012, 06:47:54 PM »
No, OnClick is still sent for the double-click. They're separate notifications.

andresp

  • Guest
Re: Double click without click
« Reply #2 on: August 20, 2012, 04:56:58 AM »
So to distinguish "an OnClick event from a click" and "an OnClick event from a double-click", I need to implement a delay which waits for the call to OnDoubleClick, right?

PhilipC

  • Guest
Re: Double click without click
« Reply #3 on: August 20, 2012, 11:06:06 AM »
If you need that sort of functionality then yes