Clearing an Image object?
Doug Lerner
doug at webcrossing.com
Wed Jan 7 04:17:59 EST 2004
On 1/7/04 5:34 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:
> Doug Lerner wrote:
>
>> If I do
>>
>> on mouseLeave
>> choose browse tool
>> end mouseLeave
>>
>> then when I leave the paint area the tool correctly turns into the browse
>> tool (though it shouldn't according to the docs, because supposedly the
>> mouseLeave message is not sent unless it already is the browse tool).
>>
>> But then when I leave the pop-up the handler gets invoked again so instead
>> of my selected tool it turns back into the browse tool again.
>>
>> So I need to maybe figure out *what* I just left, for example...
>
> Is that script on the card? Can you just move the script to the mage object
> itself?
As I suspected,that doesn't work. I think what happens is that the
mouseLeave is sent to the card, so it is not caught by an object handler.
doug
More information about the use-livecode
mailing list