Hi Richmond,

> Umm . ..
> 
> so I have a field [called fld "TEKST"]full of text and I select some of it 
> with my mouse
> I then click on a button that contains the following script:
> 
> on mouseUp
>    copy the selected of fld "TEKST"
> end mouseUp
> nix!
> now, I've tried "the selectedText" and "the selectedChunk" to no avail . . .
> Please advise

the NY-Easy-Teenie-Remix version:
on mouseUp
   copy
end mouseUp

A more sophisticated (verbose) solution:
on mouseup
  set the clipboarddata["text"] to the selectedtext of fld "TEKST"
end mouseup

:-)


Best

Klaus


--
Klaus Major
http://www.major-k.de
[email protected]


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to