List Field and Ask Dialog
Jeanne A. E. DeVoto
jeanne at runrev.com
Sat Apr 6 04:57:20 EST 2002
At 12:41 AM -0800 4/6/2002, Magnus von Brömsen wrote:
>on mouseUp
> ask "How many?"
> put tab & it after the last word of the selectedText
>end mouseUp
>
>I have this error:
>
>Chunk: no target found
>--------------------
>put tab & it after the last word of the selectedText
>--------------------
>Value: mouseUp
Try this:
on mouseUp
ask "How many?"
if it is not empty then put tab & it after the selectedLine
end mouseUp
--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/
More information about the use-livecode
mailing list