Resizing stack

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
ibe
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 61
Joined: Sun Oct 04, 2009 12:15 pm

Resizing stack

Post by ibe » Mon Mar 04, 2013 11:54 am

I have a stack that I would like to resize using a custom handler. However, the drawing of the stack seems to be too cpu intensive causing flickering. I wanted to explore an option of resizing like LiveCode (with live resizing off) does by just drawing a frame and after the user releases the mouse button drawing the window in it's new size. I can't use the built-in resize because my window is a custom shape. Effectively I want to draw a rectangle outside the stack as shown in this picture.

Any ideas on how it could be done?
Attachments
resize_frame.jpg

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Resizing stack

Post by jmburnod » Mon Mar 04, 2013 1:07 pm

Hi Ibe,
I want to draw a rectangle outside the stack
Why not a resizable substack with transparancy ?
Best regards
Jean-Marc
https://alternatic.ch

ibe
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 61
Joined: Sun Oct 04, 2009 12:15 pm

Re: Resizing stack

Post by ibe » Mon Mar 04, 2013 4:12 pm

Don't stacks that are transparent have to have their windowShape set? That brings me straight back to my original problem. If however I could have a transparent stack and be able to draw a rectangle during resizing that would solve the problem.

Post Reply