on tabKey - what field contains the blinking curser?

J. Landman Gay jacque at hyperactivesw.com
Wed Apr 26 18:14:29 EDT 2017


On 4/26/17 3:58 PM, Roger Eller via use-livecode wrote:
> How do I discover the name of the field which has received focus (blinking
> edit bar cursor) when the tabKey is pressed?

One way:

on openfield
   put the name of the target
end openfield

I'm not sure if you want to trap a message though. The selectedField 
will return identification if you're querying from inside another handler.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list