Re: iOS - open next field?

2020-07-01 Thread Mike Kerner via use-livecode
oh, wait, I thought you meant the return key, or in your photo, the "go",
key.
nothing to see here, move along, move along.

On Wed, Jul 1, 2020 at 10:40 AM Mike Kerner 
wrote:

> yep.
> use the on inputReturnKey event
> then mobileControlTarget() to get the current field
> You need to know what the next field is to get the focus, then you use
> use mobileControlDo (next object),"focus"
>
> I generally have a handler in the card to do this, and I also generally
> have a list of the fieldnames in a container because I need the list for
> database work, and for things like creating the native fields when the card
> opens and setting their properties.
>
> On Wed, Jul 1, 2020 at 1:31 AM Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Is there a way you activate and utilize the "prev" and "next" button on
>> iOS keyboards?   You know, these buttons:
>>
>> https://i.stack.imgur.com/FzrPy.png
>>
>> If you have more than one text field on a card, we want to "tab" between
>> fields.
>>
>> -Dan
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS - open next field?

2020-07-01 Thread Mike Kerner via use-livecode
yep.
use the on inputReturnKey event
then mobileControlTarget() to get the current field
You need to know what the next field is to get the focus, then you use
use mobileControlDo (next object),"focus"

I generally have a handler in the card to do this, and I also generally
have a list of the fieldnames in a container because I need the list for
database work, and for things like creating the native fields when the card
opens and setting their properties.

On Wed, Jul 1, 2020 at 1:31 AM Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Is there a way you activate and utilize the "prev" and "next" button on
> iOS keyboards?   You know, these buttons:
>
> https://i.stack.imgur.com/FzrPy.png
>
> If you have more than one text field on a card, we want to "tab" between
> fields.
>
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iOS - open next field?

2020-06-30 Thread Dan Friedman via use-livecode
Is there a way you activate and utilize the "prev" and "next" button on iOS 
keyboards?   You know, these buttons:

https://i.stack.imgur.com/FzrPy.png

If you have more than one text field on a card, we want to "tab" between 
fields. 

-Dan

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