Jacque, that’s perfect. Where would I be without the knowledge and kindness
displayed daily on this list!
Graham
> On 8 Oct 2020, at 18:58, J. Landman Gay via use-livecode
> wrote:
>
> Untested, but try this:
>
> on keyboardActivated
> select text of fld
> end keyboardActivated
>
> If you
Untested, but try this:
on keyboardActivated
select text of fld
end keyboardActivated
If you get a selection flash when it sets twice, remove the command from
the openField handler.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On O
e LiveCode"
Cc: "Graham Samuel"
Subject: Re: Select text question
Thanks Craig. Somehow the return characters didn’t arrive in my email, but of
course I understand what you mean. But this would simply empty the field,
wouldn’t it, whereas I want the user to see the text that
>
>
> -Original Message-
> From: "Graham Samuel via use-livecode"
> Sent: Thursday, October 8, 2020 8:45am
> To: "How to use LiveCode"
> Cc: "Graham Samuel"
> Subject: Select text question
>
>
>
> I want a user to key a n
To: "How to use LiveCode"
Cc: "Graham Samuel"
Subject: Select text question
I want a user to key a number in a field in an iOS app. Normally the field will
already contain data which the user will be replacing, so I coded this
on openField
set the keyboardType of me to "num
I want a user to key a number in a field in an iOS app. Normally the field will
already contain data which the user will be replacing, so I coded this
on openField
set the keyboardType of me to "numeric"
select text of me
end openField
What happens is that the selection can be seen taking