Saltar para o conteúdo principal
Version: v19

On Long Click

CodePode ser chamado porDefinição
39BotãoA button is clicked and the mouse button remains pushed for a certain length of time


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.

Veja também

On Alternative Click