rectangle of 0,0,0,0 ok?
Thomas J McGrath III
3mcgrath at adelphia.net
Sun Jan 18 09:48:07 EST 2004
After you hide the field (or show the field)
THEN pass the mouse message in the field , or just when it is hidden.
on mouseWithin
if the vis of field "me" then
-- do stuff while I'm visible
else
pass mouseWithin
end if
end mouseWithin
you might also want to pass the other mouse messages in the same way,
These are needed only if you need the messages passed if you use them
in the graphics, etc under the field.
mouseEnter
mouseLeave
mouseMove
mouseRelease
mouseUp
mouseDoubleUp
mouseDown
mouseStillDown
mouseDoubleDown
On Jan 18, 2004, at 7:32 AM, Derek Huby wrote:
> On 18/1/04 5:56 am, doug lerner <doug at webcrossing.com> wrote:
>
>> If I want to completely hide a field I have been setting it's
>> rectangle
>> temporarily to 0,0,0,0. This seems to work ok. Anybody see any
>> problems with
>> doing that - or can recommend a better way?
>>
>> Thanks,
>>
>> doug
>
> Try:
>
> hide field "myField"
>
> You can then show it again with:
>
> show field "myField"
>
> This is equivalent to setting the visible property of the field to
> true /
> false; check out the 'hide' command in the Transcript language
> Dictionary.
>
> Best wishes,
>
> Derek
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev
2.1.2
Advanced Media Group
Thomas J McGrath III • 2003 • 3mcgrath at adelphia.net
220 Drake Road, Bethel Park, PA 15102
More information about the use-livecode
mailing list