deslecting the line tool

Ian Summerfield iansummerfield at btconnect.com
Sun Feb 17 09:45:01 EST 2002


On 17/2/02 2:27 pm, "Mike Brown" <mike at cyber-ny.com> scribed:

> Good Morning,
> 
> I have a question regarding the selection and deselection of the line too.
> I have a button with this script:
> 
> on mouseup
> set the tool to "line tool"
> end mouseup
> 
> That sets my pointer to the line drawing tool, but I cant find a script or
> method to switch back to a pointer or browse tool.  When I placed a script
> in another button to set the pointer to the browse tool, it doesn't work.
> The line tool just draws a dot or line on top of the button.  Any
> recommendations?
> 

I thought you had to use:

Choose line tool
Choose browse tool

You can "get the tool" but I'm not sure you can "set the tool"




More information about the use-livecode mailing list