Transparent stack with opaque controls?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Transparent stack with opaque controls?

Post by RRobert » Sun May 24, 2009 8:47 pm

Hello,

creating a transparent stack by using blending is easy but how could I let the controls stay opaque like Jerry did in GLX2?

Thanks,
Robert

Image

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Sun May 24, 2009 10:38 pm

Robert,
no blending involved, as far as I see.
Just set the backgroundcolor of a card or a stack to a dark color, like Jerry did. Than you place your controls. In the property editor set the text color to white where applicable. That is all it takes for the checkboxes.

The Textfield: you set the background color to a little lighter then the background color of the card. The bordercolor still a little lighter. turn threeD of, Textcolor to white, borderwidth 1,

The label field textcolor to white
The optionmenu leave it as it is.
That should come close to what Jerry did.
regards
Bernd

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Post by RRobert » Mon May 25, 2009 1:47 am

Hello Bernd,

there is blending involved but only 1,2 or 3 and together with the combination of dark colors it looks like the controls are opaque. However thanks for looking into it. :)

Robert

Post Reply