how to avoid deselcting by clicking?

Richard Hillen mail at richard-hillen.de
Tue Apr 23 04:59:01 EDT 2002


Hello,

there is a field with some selected text.

I want to get the selected text by clicking at a button.

So I wrote in the buttonscript:

on mouseup
get the selectedtext of fld "xxx"
put it
end mouseup


Why is there nothing put? How to avoid deselecting by clicking at the button?

Thanx.

Richard Hillen.



More information about the use-livecode mailing list