XP standalone has transparent Answer boxes...

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Contact:

XP standalone has transparent Answer boxes...

Post by paulsr » Thu Aug 30, 2012 4:23 am

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

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: XP standalone has transparent Answer boxes...

Post by shaosean » Thu Aug 30, 2012 5:04 am

Is it still transparent if you change the background colour or use an image for the background?

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Contact:

Re: XP standalone has transparent Answer boxes...

Post by paulsr » Thu Aug 30, 2012 5:20 am

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

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: XP standalone has transparent Answer boxes...

Post by Klaus » Thu Aug 30, 2012 12:00 pm

... 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

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Contact:

Re: XP standalone has transparent Answer boxes...

Post by paulsr » Thu Aug 30, 2012 12:37 pm

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

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: XP standalone has transparent Answer boxes...

Post by Klaus » Thu Aug 30, 2012 1:27 pm

Hi Paul,

:D

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


Best

Klaus

Post Reply