mouseMove Bug

Scott Rossi scott at tactilemedia.com
Mon Apr 14 23:30:44 EDT 2008


Recently, Gregory Lypny wrote:

> I put the handler below into a field to experiment with mouseMove and
> mouseLine.  Unfortunately, the handler continues to operate even when
> I select the Edit tool!

You could try adding the following:

> on mouseMove
      if the tool <> "browse tool" then pass mouseMove
>    if the mouseChunk is not empty
>    then
>      put the value of the mouseLine
>      set the backgroundColor of the line 1 to totalLines of me to empty
>      set the backgroundColor of the mouseLine to "yellow"
>      set the loc of button "Option Menu" to the mouseLoc
>    end if
> end mouseMove

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list