====== The DisableDoubleClick Property ====== If the operator quickly touches a control twice, the [[https://msdn.microsoft.com/en-us/library/system.windows.forms.control.click%28v=vs.90%29.aspx|Click event]] will fire for the first touch, and the [[https://msdn.microsoft.com/en-us/library/system.windows.forms.control.doubleclick%28v=vs.90%29.aspx|DoubleClick event]] will fire for the second touch. This behavior can be quite undesirable if the operator expects the same behavior with each individual touch. Consider, for example, repeatedly touching a button to increment/decrement a value. The following videos illustrate the difference. |{{https://downloads.comfiletech.com/jControls/videos/doubleclickenable.mp4?548x308}}|{{doubleclickenableproperties.png|}}| | Notice that the value increments on every //other// touch rather than every touch. || However, in the following video, the value increments on //every// touch. |{{https://downloads.comfiletech.com/jControls/videos/doubleclickdisable.mp4?548x308}}|{{doubleclickdisableproperties.png|}}| | Notice that the value increments on //every// touch. || The [[https://api.comfiletech.com/csharp/api/ComfileTech.jControls.jControl.DisableDoubleClick.html#ComfileTech_jControls_jControl_DisableDoubleClick|DisableDoubleClick]] property provides the ability to disable the ''DoubleClick'' event so every touch will fire the ''Click'' event. Most of the controls in the jControls library implement the ''DisableDoubleClick'' property. If a double-click event is needed, set the ''DisableDoubleClick'' property to ''false'', otherwise, set it to ''true''. By default it is set to ''true''.