iOS UITextField with delete button
Scott Morrow
scott at elementarysoftware.com
Mon Mar 28 05:44:20 EDT 2011
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
More information about the use-livecode
mailing list