understanding modeless stacks on OS X

Sarah sarahr at genesearch.com.au
Tue Jul 22 21:24:03 EDT 2003


I only get the black border in a stack where I have extended a tabbed 
button to use it's striped background over the whole card area. This 
happens to me in the development environment as well as in a  
standalone.

I just tested a single stack app with radio buttons to change mode and 
a default button. The background changed as expected and the default 
button looked fine in all modes. Are you sure there isn't something 
else interfering, like a background pattern or color set in the 
mainStack, or a large tabbed button?

Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/

On Tuesday, July 22, 2003, at 03:57  pm, Alex Rice wrote:

> I have a preferences stack that I want to have the pinstripe 
> background pattern on OS X, and I want to get rid of the ugly black 
> box around the default button (OS X appearance manager button).
>
> In the IDE, I just set the style to modeless, and it looks correct. In 
> a standalone, the stack seems to be toplevel because there is a gray 
> background instead of pinstripes and there is a black box around the 
> default button. However, the stack reports that it is modeless. Here 
> is the handler used to open the prefs stack.
>
> on mouseUp
>   set the loc of stack "Prefs" to the screenloc
>   go stack "Prefs" -- also tried "as modeless"
>   answer the style of stack "Prefs" -- says "modeless"
> end mouseUp
>
> Again, in the IDE, this handler shows a modeless stack that appears 
> how I want it to. In standalone, it looks bad. Is this a bug?
>
> Alex Rice, Software Developer
> Architectural Research Consultants, Inc.
> http://ARCplanning.com
Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/





More information about the use-livecode mailing list