Actions
Feature #7021
closedRepeat button click event as long as the button is kept pressed
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.
Updated by Wim Dumon over 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.
Updated by Roel Standaert over 5 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