Speed Button

<< Click to Display Table of Contents >>

Navigation:  Forum >

Speed Button

Forum link

 


 

11-25-2020, 02:16 PM:

 

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

 


 

11-25-2020, 04:34 PM:

 

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

 


 

11-25-2020, 05:17 PM:

 

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

 


 

11-25-2020, 06:54 PM:

 

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.

 


 

11-25-2020, 08:35 PM:

 

Thanks.

 

Denville.

 


 

11-26-2020, 02:44 AM:

 

This might assist you.

 

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

 


 

11-26-2020, 10:14 AM:

 

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

 

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

 

Thanks