Copying Highlighted Text in a Field
Steven Axtell
saxtell at neb.rr.com
Wed May 12 22:17:58 EDT 2010
Thanks Terry. I'll give that a try.
Steve
>
> This might be a roundabout approach but it seems to work.
>
> on mouseDown pButton
> put the selectedChunk into tChunk
> do ("set the backgroundColor of "&tChunk&" to the hiliteColor")
> popup btn "contextMenu" at the mouseLoc
> do ("set the backgroundColor of "&tChunk&" to empty")
> do ("select"&&tChunk)
> end mouseDown
>
> Terry...
>
More information about the use-livecode
mailing list