Atozed Forums
Speed Button - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Speed Button (/thread-2144.html)



Speed Button - denville - 11-25-2020

Is there the equivalent of a speed button which will register an async click without removing focus from the edit ?


RE: Speed Button - kudzu - 11-25-2020

You could use JS to refocus the edit that you want after click.


RE: Speed Button - denville - 11-25-2020

(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 ?


RE: Speed Button - kudzu - 11-25-2020

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.


RE: Speed Button - denville - 11-25-2020

Thanks.

Denville.


RE: Speed Button - kudzu - 11-26-2020

This might assist you.

https://developers.google.com/web/tools/chrome-devtools/accessibility/focus


RE: Speed Button - denville - 11-26-2020

(11-26-2020, 02:44 AM)kudzu Wrote: This might assist you.

https://developers.google.com/web/tools/chrome-devtools/accessibility/focus

Thanks