Jump to content

Preventing Double Clicks

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Guest_NeedHelp_*

Guest_NeedHelp_*
  • Guests
I search MSN and found no good results. I need to know how I can prevent double clicks on link labels or even buttons.

What would be the logic to prevent double-clicking?

#2
Void

Void

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 411 posts
Why don't you just add the "on_doubleclick" function. If you are using Visual C# you can click on the lighting bolt at the label/button properties wnidow. This will list all of the functions the button/label can do. Scroll down to mouse doubleclick and then doubleclick on the white space. It will create a function for you. Have this function do nothing.

I'm not sure i understand what you are wanting since the doubleclick shouldn't do anything unless you have a function already made for it.
Void

#3
Guest_NeedHelp_*

Guest_NeedHelp_*
  • Guests
Hmm, perhaps I said that wrong. How can I prevent a user from clicking the button a second time? I have a form with a button and the button executes IE to a default website. Is there anyway I can prevent the user from clicking it twice while IE is loading?

#4
Void

Void

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 411 posts
Hmm... You could always disable the button for a period of time. Say 5 seconds after the button is clicked it becomes disabled.
Void