Can we set the color of an Apps title bar?

Joe Lewis Wilkins pepetoo at cox.net
Mon Nov 15 00:20:53 EST 2010


Mike, works pretty good once some of the more subtle colors are used. Some are pretty garish! (smile)

Once again, thanks for your help.

Joe Wilkins

On Nov 14, 2010, at 9:11 PM, Mike Bonner wrote:

> Yeah, don't believe you can set the title bar directly, its set by OS, but
> if you were willing to roll your own then you could, or something simple
> like a home made focus border that changes based on suspendstack and
> resumestack would work. Unfortunately, pretty sure you can't affect the
> stock title bar.  There is a change of color on my system, but its too
> subtle for my eyes to pick up easily. Gray, and slightly lighter gray, are
> all.. erm. Gray. To me.
> 
> 
> On Sun, Nov 14, 2010 at 9:43 PM, Joe Lewis Wilkins <pepetoo at cox.net> wrote:
> 
>> 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