Re: Transparent window example?

2011-10-20 Thread Keith (Gulf Breeze Ortho Lab)

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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode 



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transparent window example?

2011-10-20 Thread Richmond Mathewson

On 10/20/2011 10:27 PM, Keith (Gulf Breeze Ortho Lab) wrote:

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?


'fraid so! blendLevel is strictly inherited; the only way you will 
manage wgat you
want is by using windowShape for your stack and setting the blendLevel 
of your object. The only snag about this is that I think you will be 
quite unable to have a semi-transparent stack.




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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: Transparent window example?

2011-10-20 Thread John Dixon

Keith...

Have a look at this, I think it might help...

http://www.runrev.com/developers/lessons-and-tutorials/tutorials/advanced-inks-windows/

Dixie

 From: ke...@gulfbreezeortholab.com
 To: use-livecode@lists.runrev.com
 Subject: Re: Transparent window example?
 Date: Thu, 20 Oct 2011 14:27:44 -0500
 
 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
 kl...@major.on-rev.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transparent window example?

2011-10-20 Thread Keith (Gulf Breeze Ortho Lab)

Thanks Dixie! Just what I was looking for! I really, really appreciate it!

Cheers from Florida,

- Boo

-Original Message- 
From: John Dixon

Sent: Thursday, October 20, 2011 3:05 PM
To: use-livecode@lists.runrev.com
Subject: RE: Transparent window example?


Keith...

Have a look at this, I think it might help...

http://www.runrev.com/developers/lessons-and-tutorials/tutorials/advanced-inks-windows/

Dixie


From: ke...@gulfbreezeortholab.com
To: use-livecode@lists.runrev.com
Subject: Re: Transparent window example?
Date: Thu, 20 Oct 2011 14:27:44 -0500

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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription

preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode 



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transparent window example?

2011-10-19 Thread Klaus on-rev
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
kl...@major.on-rev.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transparent window example?

2011-10-19 Thread Björnke von Gierke
It has  been done before. To have a stack that is only partially see trough, 
you need to set the windowshape. Obviously a windowShape is not resizable per 
se. But, and that's what you can do, it's possible to set the windowShape 
repeatedly to simulate animations and movements. So you'd need to somehow 
create or resize a custom image, and set a stacks windowShape when the user 
resizes iz.

In general that's prone to be finicky and look weird if not done very careful, 
so in effect I think it's probably not worth the effort. But then, I'm a huge 
fan of standard controls and looks :)

See also the Breeze stack from Scott Rossi (fourth down on the left, american 
flag), he's done a lot of work with windowShape and animation:
http://www.tactilemedia.com/site_files/software/tutorials.html

also interesting in this context is the last entry, window lab.

hope that gets you started.

On 19 Oct 2011, at 12:25, Keith (Gulf Breeze Ortho Lab) wrote:

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


-- 
Watch live presentations every Saturday:
http://livecode.tv

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transparent window example?

2011-10-19 Thread Keith (Gulf Breeze Ortho Lab)
Thanks Klaus. And some of this can seem like rocket science to newbies. :-)

Everything is relative... ;-)

- Boo

Sent from my iPhone

On Oct 19, 2011, at 7:08 AM, Klaus on-rev kl...@major.on-rev.com wrote:

 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
 kl...@major.on-rev.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transparent window example?

2011-10-19 Thread Keith (Gulf Breeze Ortho Lab)
Thanks for the information B.!

Sent from my iPhone

On Oct 19, 2011, at 7:18 AM, Björnke von Gierke b...@mac.com wrote:

 It has  been done before. To have a stack that is only partially see trough, 
 you need to set the windowshape. Obviously a windowShape is not resizable per 
 se. But, and that's what you can do, it's possible to set the windowShape 
 repeatedly to simulate animations and movements. So you'd need to somehow 
 create or resize a custom image, and set a stacks windowShape when the user 
 resizes iz.
 
 In general that's prone to be finicky and look weird if not done very 
 careful, so in effect I think it's probably not worth the effort. But then, 
 I'm a huge fan of standard controls and looks :)
 
 See also the Breeze stack from Scott Rossi (fourth down on the left, 
 american flag), he's done a lot of work with windowShape and animation:
 http://www.tactilemedia.com/site_files/software/tutorials.html
 
 also interesting in this context is the last entry, window lab.
 
 hope that gets you started.
 
 On 19 Oct 2011, at 12:25, Keith (Gulf Breeze Ortho Lab) wrote:
 
 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...
 
 
 -- 
 Watch live presentations every Saturday:
 http://livecode.tv
 
 Use an alternative Dictionary viewer:
 http://bjoernke.com/bvgdocu/
 
 Chat with other RunRev developers:
 http://bjoernke.com/chatrev/
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode