Palette Problem

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Mar 18 07:37:22 EDT 2008


Richmond,

Do you have these handlers in the palette stack itself? Although that  
should be possible, it is causes an ugly flash on the screen. The use  
of the palette command is correct, though. So, if you have a button to  
open the stack, you would write:

on mouseUp
   palette stack "XXX"
end mouseUp

If you are using Media, it might not work. If it doesn't, use

  go stack "XXX" as palette

instead.

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

A large collection of scripts for HyperCard, Revolution, SuperCard and  
other programming languages can be found at http://runrev.info




On 18 mrt 2008, at 12:15, Richmond Mathewson wrote:

> I am trying to get a stack to load as a Palette rather
> than a Stack:
>
> tried this;
>
> on preOpenStack
>  palette stack "XXX"
> end preOpenStack
>
> and
>
> on openStack
>   palette stack "XXX"
> end openStack
>
> neither worked,
>
> obviously getting something wrong!
>
> sincerely, Richmond Mathewson




More information about the use-livecode mailing list