Hi Bill:

If I was doing this, I'd create a custom component with a Label and upon a tap 
and hold for 1 second, display a custom popup button that looks exactly like 
the Android or iOS "Copy" button that shows up when selecting text in native 
fields. The user can just tap that button to copy to clipboard.

I think discoverability will be a slight issue, but not too hard for users 
since to copy text in a native field, one of the gestures is to tap and hold to 
display the selection menu button. They may organically just try that and see 
the "Copy" button. Of course this approach won't allow "selecting" a sub range 
of the field's text, it would be all or nothing. But you can consider providing 
a help "overlay" for first time use and from settings that explain the shortcut 
to copy cell contents. 

It's super easy to make a TextInput field look like a label, by setting focus, 
border, and background colors, but the soft keyboard cannot be prevented if 
editable property is true. A soft keyboard popping up when the user just wants 
to select text would be a bad UI design (IMO). :-)

Erik


On Dec 16, 2019, at 3:43 PM, Alex Harui <aha...@adobe.com.INVALID> wrote:

What would you like the interaction to be to determine which labels are copied 
to the clipboard?  AFAIK, the Flex SDK doesn't have any built-in support for 
Copy and Paste on anything other than TextInput and TextArea.  But you can 
probably code up some other interaction if you want.

I've only heard of one other company that wanted to select text that wasn't in 
a TextArea/TextInput, and that was secondhand information from a VP, so I 
haven't seen many requests for Copy.

HTH,
-Alex

On 12/16/19, 3:12 PM, "bilbosax" <waspenc...@comcast.net> wrote:

   Thanks for the reply Erik.  That is definitely an option if I just wanted to
   make a few lines of text in the app copyable.  Unfortunately, I have a LOT
   of fields that I think a user may want to copy and paste at some point, and
   my app would be littered with icons and would look messy.  Thanks for the
   thought though, as that would definitely work.

   SURELY there has to be some type of text display element that is copyable
   other than textInput and textArea isn't there???



   --
   Sent from: 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7Cf8f7149be0554f757da808d7827d5de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637121347277646955&amp;sdata=vb5qOJHSOZL9M7SbqZ08fo37DAynWcnY%2FrVI7JOUNyE%3D&amp;reserved=0


-- 
Message  protected by MailGuard: e-mail anti-virus, anti-spam and content 
filtering.http://www.mailguard.com.au


Reply via email to