Transparent window example?
Keith (Gulf Breeze Ortho Lab)
keith at gulfbreezeortholab.com
Thu Oct 20 15:27:44 EDT 2011
Hi Again,
Is there a way to set a stack to a blendlevel of say 75, but keep an object
(such as a button) at a blendlevel of 0? That is, a somewhat transparent
window, but a solid button/control on the transparent window?
I have played around with it, but the object seems to inherit the blendlevel
of the stack... Even when setting an object's blendlevel to 0.
Thanks,
- Boo
-----Original Message-----
From: Klaus on-rev
Sent: Wednesday, October 19, 2011 7:08 AM
To: How to use LiveCode
Subject: Re: Transparent window example?
Hi Keith,
Am 19.10.2011 um 12:25 schrieb Keith (Gulf Breeze Ortho Lab):
> Hi All,
>
> Would anyone be able to provide an example of how to make a transparent
> window that is resizable? To clarify, a window that looks like a
> see-through box. The borders of the window need to be visible, and the
> window needs to be resizable accordingly, but the user needs to be able to
> see the desktop through the window...
just:
...
set the blendlevel of stack X to Y
## where Y = 0 - 100
...
This will only affect the "transparency" of that stack, everthing else like
"resizable" is NOT affected!
Check "blendlevel" in the dictionary, it's definitivley no rocket science
:-)
> Thanks,
>
> - Boo
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list