Project

General

Profile

Actions

Feature #7021

closed

Repeat button click event as long as the button is kept pressed

Added by Mahmudul Hasan almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/29/2019
Due date:
% Done:

0%

Estimated time:

Description

In other platform i have used Repeat buttons. But i Wt i am using push button.

I need to keep executing button click event as long as the button is kept pressed. Is there any control like this i Wt? If not how can i achieve this with push button?

Please suggest.

Actions #1

Updated by Wim Dumon almost 5 years ago

Hi Mahmudul,

No such function exists. I guess this can be implemented by implementing mouse handlers on mouseWentDown() and mouseWentUp(), and using either a server-side timer + server push or some client-side JavaScript to obtain this behaviour.

Wim.

Actions #2

Updated by Roel Standaert over 4 years ago

  • Status changed from New to Closed
  • Priority changed from Immediate to Normal

I don't think we're going to add repeated events like this to Wt itself, because it seems like it's a very specific thing. You could indeed achieve something like that using a combination of mouseWentDown/mouseWentUp.

Actions

Also available in: Atom PDF