2 Replies - 846 Views - Last Post: 07 March 2013 - 07:22 AM Rate Topic: -----

#1 xTak  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 07-March 13

how to prevent a single click event on double click

Posted 07 March 2013 - 03:11 AM

hello,
how can i prevent a single click event on a picturebox when double clicking on it, so when i double click it, p_Doubleclick() will run and when only clicking a single click p_Click will run?
thank you for your help!!!
Is This A Good Question/Topic? 0
  • +

Replies To: how to prevent a single click event on double click

#2 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3253
  • View blog
  • Posts: 10,908
  • Joined: 12-December 12

Re: how to prevent a single click event on double click

Posted 07 March 2013 - 04:44 AM

I believe you would need to implement a Timer to distinguish between a single and double-click event, discussed here MSDN.

Personally, I would prefer to use one or the other :)
Was This Post Helpful? 2
  • +
  • -

#3 xTak  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 07-March 13

Re: how to prevent a single click event on double click

Posted 07 March 2013 - 07:22 AM

View Postandrewsw, on 07 March 2013 - 04:44 AM, said:

I believe you would need to implement a Timer to distinguish between a single and double-click event, discussed here MSDN.

Personally, I would prefer to use one or the other :)/>


Thank you!
i used their method and it works! :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1