Page 1 of 1

XP standalone has transparent Answer boxes...

Posted: Thu Aug 30, 2012 4:23 am
by paulsr
Greetings:

I've just had my first attempt at building a standalone application ... for Windows XP.

As far as I can tell, the app runs as expected, with one exception.

In a few places I use Answer boxes, which display fine in the development environment. But in the standalone app they are transparent. Which means I can't read them, because the text is black, and my card's background is dark blue.

I confess, I have absolutely no idea how to debug something like this.

Can anyone advise me please...

--paul

Re: XP standalone has transparent Answer boxes...

Posted: Thu Aug 30, 2012 5:04 am
by shaosean
Is it still transparent if you change the background colour or use an image for the background?

Re: XP standalone has transparent Answer boxes...

Posted: Thu Aug 30, 2012 5:20 am
by paulsr
I found the answer here:

http://forums.runrev.com/viewtopic.php?f=19&t=12430

Apparently the standalone answer dialog inherits the stack's background color and so it is necessary to do something like:

Code: Select all

set the backgroundColor of card 1 of stack "Answer Dialog" to white
--paul

Re: XP standalone has transparent Answer boxes...

Posted: Thu Aug 30, 2012 12:00 pm
by Klaus
... in the standalone app they are transparent.
Which means I can't read them, because the text is black, and my card's background is dark blue.
Blue text on black background = tranparent? :shock:

:D

Re: XP standalone has transparent Answer boxes...

Posted: Thu Aug 30, 2012 12:37 pm
by paulsr
Yes Klaus, because the background of the card is dark blue... so to me it seemed the answer box had become transparent.

But as I now know, the answer box inherits the card's or stack's background color.

As I mentioned, this was the first time I had built a standalone app, and was surprised it did not act exactly the same as it did in the development environment.

In fact, I'm still surprised, even tho I've fixed the problem.

--paul

Re: XP standalone has transparent Answer boxes...

Posted: Thu Aug 30, 2012 1:27 pm
by Klaus
Hi Paul,

:D

Be prepared to see some more differences: standalone <-> IDE 8)


Best

Klaus