Copy fuction?

Robert Brenstein rjb at robelko.com
Fri Mar 11 12:06:34 EST 2005


Kevin J wrote:
>I was reading the Docs and was looking at the selectedText and the
>copy functions. But it does not say how to ues them together. What I
>am trying to do is get it so that when a user hilites the text in
>field"txtfield". Then use the copy comand in the menu to to copy the
>text to the clipboard. I looked all over and can't find anything on
>it.

If you really want to do it explicitly, use 'copy' in your script. 
However, normally, when user edits a field, the edit menu from Rev is 
available and the engine will allow for the user to copy without you 
having to do anything.

Robert


More information about the use-livecode mailing list