How to edit a palette?

Sannyasin Sivakatirswami katir at hindu.org
Fri Feb 7 00:09:00 EST 2003


Contextual menus not working for me either... but for years I have put 
toggles on palette windows during dev... this works great: make it a 
check box btn ( if you want to see it) or make it transparent, 
borderless, nameless btn in some location you can remember (if you 
don't like to see it on the interface... later if you forget you can 
find it in the application overview)

on mouseup
   if the mode of this stack is 4 then
     toplevel this stack
   else
     palette this stack
   end if
end mouseup

or "remotely" from another stack, say stack "Dev Tools" which has a 
button:

"Edit Favorites Window"

on mouseup
   if the mode of stack "Favorites" is 4 then
     toplevel stack "Favorites" ## allows editing
   else
     palette stack "Favorites" ## restore to palette
   end if
end mouseup



On Thursday, February 6, 2003, at 05:08 PM, Sarah wrote:

> If the stack is in palette form, it is NOT editable. If you use 
> "topLevel" to make it a normal stack, then it can be edited and worked 
> on exactly like a normal stack. In you are using the pointer tool (as 
> if editing) and you control-click on the stack, a contextual menu pops 
> up which allows you to do various things among which is an option to 
> change the mode of the stack. This is what you can use to set the 
> style back to palette when you are finished editing. You can also use 
> the Application Overview to open a stack in any mode.
>
> Cheers,
> Sarah
>
> On Friday, February 7, 2003, at 12:13  pm, Revinfo1155 at aol.com wrote:
>
>> The Rev documentation says you can make a palette editable with the 
>> topLevel function and then control click (MacOS) and a contextual 
>> menu will open which allows you to edit a palette and of course study 
>> the scripts etc.  Does anyone have experience with this?  I'm not 
>> having any luck with it.
>>
>> Jack
>
>
> _______________________________________________
> 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