====== 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. |{{:jcontrols_cf35:doubleclickenable.mp4?548x308}}|{{:jcontrols_cf35: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. |{{:jcontrols_cf35:doubleclickdisable.mp4?548x308}}|{{:jcontrols_cf35:doubleclickdisableproperties.png|}}| | Notice that the value increments on //every// touch. || The ''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 CF35 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''.