Can we set the color of an Apps title bar?

Joe Lewis Wilkins pepetoo at cox.net
Sun Nov 14 23:43:08 EST 2010


OK, Mike. I'll give it a try, but I was only trying to make the title bars different colors.

Thanks,

Joe Wilkins

On Nov 14, 2010, at 8:14 PM, Mike Bonner wrote:

> Nope, they can be on screen just fine.  To do a quick test, create a stack,
> create a substack. In the main stack put:
> 
> on resumeStack
>   set the backgroundcolor of this card to "red"
>   pass resumestack
> end resumeStack
> 
> on suspendStack
>   set the backgroundColor of this card to empty
>   pass suspendstack
> end suspendStack
> 
> 
> Then click back and forth. Whichever stack you have at front will turn red.
> If you choose a different program entirely, both will turn white. The
> exception to this, I think do to the way the IDE works is that if you select
> an IDE stack (for example the script editor) then start clicking back adn
> forth, its possible to get both stacks red untill things sort themselves
> out. This shouldn't occur in a standalone.
> 
> Obviously making the whole stack red might be a little garish, but is a
> quick easy example so you can see how it works.
> On Sun, Nov 14, 2010 at 7:14 PM, Joe Lewis Wilkins <pepetoo at cox.net> wrote:
> 
>> Thanks Mike. After checking your suggestions, I believe they all apply to
>> stacks that will no longer be "on" the screen, rather than just being
>> inactive. In my case, all three will be on the screen at the same time, so
>> that the user can work with one, view the others sometimes and go back and
>> forth when exchanging data.
>> 
>> Joe Wilkins
>> 
>> On Nov 14, 2010, at 5:54 PM, Mike Bonner wrote:
>> 
>>> I assume you mean other than the title bar color change, and shading
>>> difference (on os x at least).  If thats the case, look at suspendstack
>> and
>>> resumestack. Also possibly IconifyStack.
>>> 
>>> On Sun, Nov 14, 2010 at 6:47 PM, Joe Lewis Wilkins <pepetoo at cox.net>
>> wrote:
>>> 
>>>> Anyone know if this can be done? I have an app that will have three
>> stacks
>>>> on the screen at the same time, and I'd like to have a neat way of
>> showing
>>>> which one is the active stack. I'm pretty sure I'm dreaming, but...
>>>> 
>>>> TIA,
>>>> 
>>>> Joe Wilkins_______________________________________________
>>>> 




More information about the Use-livecode mailing list