Pencil to Browse tool switch

Richard Gaskin ambassador at fourthworld.com
Wed Jan 7 18:25:41 EST 2004


Ronald Zellner wrote:

> This should be basic, but it doesn't want to cooperate.
> 
> I have a button which chooses the pencil tool so the user can draw in
> an image rectangle.  There is also a button to choose the eraser tool
> that works fine if the browser tool is active, but it will not respond
> if clicked when the pencil tool is active.
> 
> The cursor also remains as the pencil (doesn't switch to an arrow as
> the documentation states it should)  even after moving out of the image
> rectangle.  I know many commands require the browse tool to operate but
> I need a way for the user to switch from the pencil to the eraser.  Any
> solutions?

Setting the cantSelect of your tool buttons should ideally do it, but it
doesn't work yet (only with the pointer tool).  Worth submiting a Buzilla
enhancement request for that.

In the meantime you could consider moving your tools to a palette window
which should work.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com



More information about the use-livecode mailing list