Closing palettes

Richmond richmondmathewson at gmail.com
Thu Mar 10 12:17:21 EST 2011


On 03/10/2011 07:12 PM, Keith Clarke wrote:
> ...how about
>
> on mouseUp
>    go to previous card
>    close stack "FLOATER"
> end mouseUp
>

Not really, as the close 'icon' is on the palette itself.

> BTW As one who enjoys the surf, I try to avoid floaters whenever possible ;-)

My "FLOATER" is a fairly dark shade of turquoise . . . definitely worth 
avoiding . . . :)

> On 10 Mar 2011, at 17:06, Richmond wrote:
>
>> I have a palette that is a substack of a multi-card stack (i.e. nothing
>> screamingly original) called "FLOATER".
>>
>> On the palette I have a close 'iocn' and when the end-user clicks on it
>> it execute this script:
>>
>> on mouseUp
>>    close stack "FLOATER"
>> end mouseUp
>>
>> which it does . . . . . which is all jolly well and fine, BUT . . . it also returns the main
>> multi-card stack to card 1 every time; something I should like to prevent.
>>
>> ???
>>
>> Pretty Please.
>>
>> Richmond.
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the Use-livecode mailing list