I am trying to resize a text field when I resize a stack. Are there any good examples/tutorials on how to do this? I am not sure if I can just use the geometry property or have to program for this...or both. I have read the user manual and am really confused.
Thanks for any help!
Warren
Resizing Stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Location: Aalst, Belgium
- Contact:
Re: Resizing Stack
Hi Warren,
Maybe these two blog posts of mine can help you write your own resizeStack and resizeControl handlers to move and resize things:
- BorderLayout example script http://blog.quartam.com/2010/07/borderl ... stack.html
- BorderLayout example - with resizing http://blog.quartam.com/2010/08/borderl ... izing.html
HTH,
Jan Schenkel.
Maybe these two blog posts of mine can help you write your own resizeStack and resizeControl handlers to move and resize things:
- BorderLayout example script http://blog.quartam.com/2010/07/borderl ... stack.html
- BorderLayout example - with resizing http://blog.quartam.com/2010/08/borderl ... izing.html
HTH,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
-
- Posts: 344
- Joined: Tue Feb 24, 2009 6:14 pm
- Location: Philippines
- Contact:
Re: Resizing Stack
Hmm I might not be right on this one but, yes, you can just use the Geometry Property.warrenk wrote:I am trying to resize a text field when I resize a stack. Are there any good examples/tutorials on how to do this? I am not sure if I can just use the geometry property or have to program for this...or both. I have read the user manual and am really confused.
Thanks for any help!
Warren
![Image](http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/1.gif)
In fact I made a video demo for you to see what I mean. You can view the video here: http://screencast.com/t/ZjgzNmU5Zm
If, however, you need to execute or add some scripts while resizing the stack, you can use the resizeStack message on the stack's script.
![Image](http://content.screencast.com/users/shad0ws1ash/folders/Jing/media/45c46378-c5ef-4414-b9a4-dd798d1e192d/2010-09-16_2224.png)