Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speed Button
#1
Is there the equivalent of a speed button which will register an async click without removing focus from the edit ?
Reply
#2
You could use JS to refocus the edit that you want after click.
Reply
#3
(11-25-2020, 04:34 PM)kudzu Wrote: You could use JS to refocus the edit that you want after click.

Thanks for the reply.  From the button's event handler, can I determine what control (eg Edit) was selected when the button was clicked ?
Reply
#4
Offhand not very easily. For 17 we had to add a fair bit of code to track focus because the browser doesn't really provide full tracking of such.

If you want to return them to a specific one that is easier, otherwise you may have to add tracking on your own which is possible but a bit of work. You may be able to read enough info from the browser but I dont remember exactly what it provides other than it was lacking enough that in 17 we had to add our own tracking code.
Reply
#5
Thanks.

Denville.
Reply
#6
This might assist you.

https://developers.google.com/web/tools/...lity/focus
Reply
#7
(11-26-2020, 02:44 AM)kudzu Wrote: This might assist you.

https://developers.google.com/web/tools/...lity/focus

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)