windowShape

Todd Fabacher tfabacher at gmail.com
Sun Jul 19 22:26:58 EDT 2015


I find the bast way to set and show an image in a windowShape is use
backgroundPattern.
This way you do not need to worry about the image moving or not filling the
screen. You can set it in the IDE or in code

set the backgroundPattern of *object* to {your* imageID*}

Hope that helps,

Todd Fabacher


Date: Sun, 19 Jul 2015 20:36:48 +0100
From: Terence Heaford <t.heaford at icloud.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Subject: windowShape
Message-ID: <F436AE98-17A8-454E-9EFA-C79B0D5A2C23 at icloud.com>
Content-Type: text/plain; charset=us-ascii

I have been messing about with applying windowShape and although I can get
the shape to work it does not take the colour of the image.

Should it? and how do I do it please?

I have taken a screen shot of the window being used as a palette with the
original image beneath.

It can be seen here:

https://dl.dropboxusercontent.com/u/98788898/LiveCode/Screen%20Shot.png

The original image is a png with alpha and shows as blue.

The palette window is grey.

How do I apply the blue colour of the image?

Thanks

Terry



More information about the use-livecode mailing list