iOS UITextField with delete button
Gerry Orkin
gerry.orkin at gmail.com
Mon Mar 28 09:38:03 EDT 2011
Delete the text using the native iOS clear field icon instead (the small circle with a cross) - there's a setting for that mentioned in the control properties list, in the release docs.
Gerry
-- http://gerryorkin.com
On 28/03/2011, at 8:44 PM, Scott Morrow <scott at elementarysoftware.com> wrote:
> In an iOS project using LiveCode field objects it is straight forward to hide and reveal a red "delete" button on top of the field. Switching from LiveCode fields to the native UITextField object breaks this method as the UITextField appears to float over the top of all LiveCode objects. Is there any way to elevate a LiveCode object above the native UITextField? The only workaround I can think of is to set the "borderStyle" to none (making the UITextField transparent) and then simulate a click using a frontScript to see if the user tapped inside the rect of the button under the UITextField. Feels ugly.
>
> Regards,
>
> Scott Morrow
>
> Elementary Software
> (Now with 20% less chalk dust!)
> web http://elementarysoftware.com/
> email scott at elementarysoftware.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