LC 7 / Skin a stack

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
hoburne
Posts: 40
Joined: Tue Oct 04, 2011 11:13 am

LC 7 / Skin a stack

Post by hoburne » Mon Jun 08, 2015 5:44 pm

Hi all,

I've battled this problem for a day or two now and I'm needing some guidance about where to look next..

The story so far..
I'm creating a little 'widget' type of application that will sit in the bottom rhs of the screen just above the time. It will run on Windows environments only and simply listens out for data on certain socket connections. Very simple. The socket part works absolutely brilliantly. With a basic interface the application is just perfect.

And now..
I decided to try my hand a little UI design and came up with a PNG graphic background for the two control buttons (Start & Stop) and the one output field. This also works very well. However, I then decided the stack will look amazing without the windows controls and set the shape of the stack to be the id of the graphic and imported (as control) the image itself. This works very well in the IDE but I get a very strange problem with a standalone.

The problem..
Is that when the application loads, only the top layer of the background PNG image is visible on the screen and nothing else! Also this one layer of the PNG is only visible when there is data in the output fld which sits above the layer. If the fld is empty, the PNG layer beneath it isn't visible. When the field has data only the one PNG layer directly beneath the field is visible.

My question..
After a long winded explanation, is, what should I be looking for, what can I read about to set me in the right direction on fixing this.

any guidance would be appreciated.
I'm using LC Commercial 7.0.3 on Windows 8 Pro / i7 5930k / 32Gb Ram

Thanks.

Post Reply