iconic crash boom bam
Chipp Walters
chipp at chipp.com
Sat Jan 31 14:48:32 EST 2004
Tom,
I haven't had any trouble with this method on XP. Haven't tested much
on Win98.
The reason for the flash is that you can't 'lock screen' across a send
command. You could do something like save the window rect to a
property, then move the stack to an offscreen position, then minimize.
On uniconify, it will open up at the offscreen position, then set the
loc to the saved position after the decorations are set to emtpy.
On Jan 31, 2004, at 6:39 AM, Thomas McGrath III wrote:
> Chipp,
>
> Wow, what a difference a send can make!
>
> I get a flashing of the screen in the final setting of the decorations
> in OSX. Do you know any way to stop that?
>
> Also, I wanted to put this in a distributable project but "I can not
> afford" to have it crashing due to this. Are we 100% sure it does not
> crash with send? on XP? 98?
>
> Thank you so much for the response
>
> Tom
>
>
> On Jan 31, 2004, at 3:25 AM, Chipp Walters wrote:
>
>> Thomas,
>>
>> Sorry, I see you are on the Mac.
>>
>> This works for me on Mac OSX
>>
>> in the stack script:
>>
>> on unIconifyStack
>> send unIconifyMe to this stack in 30 milliseconds
>> end unIconifyStack
>>
>> on unIconifyMe
>> set the decorations of this stack to empty
>> end unIconifyMe
>>
>> in the 'minimize me' button script
>>
>> on mouseUp
>> set the decorations of this stack to default
>> set the iconic of this stack to true
>> end mouseUp
>>
>> no crashes. the secret is the send command :-)
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
> Thomas J. McGrath III
> SCS
> 1000 Killarney Dr.
> Pittsburgh, PA 15234
> 412-885-8541
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list