on tabKey - what field contains the blinking curser?

Roger Eller roger.e.eller at sealedair.com
Thu Apr 27 16:10:54 EDT 2017


Send to X in 1 <unit>?  Is the default a millisec?


On Apr 27, 2017 1:29 PM, "J. Landman Gay via use-livecode" <
use-livecode at lists.runrev.com> wrote:

This seems to work:

on tabKey
  send "doSelect" to me in 1
  pass tabKey
end tabKey

on doSelect
  select after the selectedfield
end doSelect


On 4/26/17 7:21 PM, Roger Eller via use-livecode wrote:

> When I tab to the next field, I want to select after the field content, or
> in other words place the blinking bar at the end of whatever is already
> there.  By default, it is placing it in front of the field content.
>
> On Apr 26, 2017 6:14 PM, "J. Landman Gay via use-livecode" <
> use-livecode at lists.runrev.com> wrote:
>
> 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
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>

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

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list