iOS voice-to-text

Gerry gerry.orkin at gmail.com
Thu Feb 26 20:09:10 EST 2015


Alain

Put Richard's code into an open card handler to make the native field
appear when you first open the card. The rect of the field in his code is
set to match the rect of a field named "note" - I do the same kind of thing
because it lets you easily change the size and position of the native field
just by changing the size and position of that field - and of course you
need to set the visible of the field "note" to false.

To delete the native field you would do:

mobileControlDelete  "displayInput" (using his example).

You can also hide the native field with:

 mobileControlSet "displayInput", "visible", "false".

Gerry

On Fri, 27 Feb 2015 at 07:53 Richard Miller <wow at together.net> wrote:

>        mobileControlCreate "multiline", "displayInput"
>        mobileControlSet "displayInput", "rect", the rect of fld "note"
>        mobileControlSet "displayInput", "vScroll", "0"
>        mobileControlSet "displayInput", "visible", "true"
>        mobileControlSet "displayInput", "autocorrectionType", "no"
>        mobileControlSet "displayInput", "editable", "true"
>        mobileControlSet "displayInput", "fontsize", 18
>        mobileControlSet "displayInput", "backgroundColor", "yellow"
>        mobileControlSet "displayInput", "borderStyle", "line"
>        mobileControlSet "displayInput", "scrollingEnabled", true
>        mobileControlSet "displayInput", "enabled", true
>        mobileControlSet "displayInput", "text", ""
>
>
> On 2/26/15 12:50 PM, Alain Vezina wrote:
> > How do you make a native iOS field?
> >
> > Alain Vézina, directeur
> > Logilangue
> > www.logilangue.com
> >
> > Le 2015-02-26 à 10:30, Richard Miller <wow at together.net> a écrit :
> >
> >> Solved the problem. I was using a standard LC text field instead of a
> native iOS field.
> >>
> >>
> >> On 2/26/15 8:01 AM, Richard Miller wrote:
> >>> I've noticed that the built in voice-to-text feature on an iPhone
> doesn't work in a standard LC text field. When I tap the icon on the iPhone
> keyboard to the left of the spacebar and then speak, no text comes into the
> field. Anyone know how to enable this feature?
> >>>
> >>> _______________________________________________
> >>> 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
> >
> > _______________________________________________
> > 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
>



More information about the Use-livecode mailing list