on tabKey - what field contains the blinking curser?
J. Landman Gay
jacque at hyperactivesw.com
Thu Apr 27 16:57:30 EDT 2017
The default is a tick (1/60 second). You could add "millisecond" after
the 1 and that would probably be enough time. I get lazy with small time
units when it doesn't matter much and tend to omit extra typing.
On 4/27/17 3:10 PM, Roger Eller via use-livecode wrote:
> 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
More information about the use-livecode
mailing list