Skip to main content
Version: 20

On Long Click

CodeCan be called byDefinition
39ButtonA button is clicked and the mouse button remains pushed for a certain length of time

Description

This event is generated when a button receives a click and the mouse button is held for a certain length of time. In theory, the length of time for which this event is generated is equal to the maximum length of time separating a double-click, as defined in the system preferences.

This event can be generated for the following button styles:

This event is generally used to display pop-up menus in case of long button clicks. The On Clicked event, if enabled, is generated if the user releases the mouse button before the "long click" time limit.

See also

On Alternative Click