Project

General

Profile

Actions

Feature #7021

closed
MH

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

Feature #7021: Repeat button click event as long as the button is kept pressed

Added by Mahmudul Hasan over 7 years ago. Updated about 7 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.

WD Updated by Wim Dumon over 7 years ago Actions #1

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.

RS Updated by Roel Standaert about 7 years ago Actions #2

  • 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: PDF Atom