Page 1 of 1

Resize Windows and objects

Posted: Mon Nov 23, 2009 11:06 am
by Vincent
Hi,

I'm a Runrev new user... I would like that my windows and the objects inside (fields, buttons, etc...) are horizontally and vertically resizable...

I hope someone will help me,
Thanks in advance,

Vincent.

Re: Resize Windows and objects

Posted: Mon Nov 23, 2009 1:31 pm
by hliljegren
I think you should take a look at the geometry tab in the property inspector. You can also use the message resizeStack if you need to resize "by hand" (i.e. by code).

Code: Select all

on resizeStack newWidth, newHeight
   # Resize all controls according to new stack size
end resizeControl

Re: Resize Windows and objects

Posted: Mon Nov 23, 2009 2:10 pm
by SparkOut
http://www.runrev.com/developers/lesson ... y-manager/ will give you some help on the Geometry Manager. This same tutorial can also be found by clicking the Resource Center icon in the RunRev menu bar in the IDE, and looking in the Tutorials section under "General".

There used to be a handy video tutorial on the RunRev website, but I've lost it since the content changed relating to support materials, about version 3.0 (although some were/are still accessible if you know the direct url) but what with the recent changes I can't find this one.

Chipp Walters has a set of video tutorials on his website: http://www.altuit.com/webs/altuit2/RunR ... orials.htm

Be aware though, while I personally do use the Geometry Manager quite a lot, for things I know it can definitely do, it is not, er... terribly "robust" and many of the experienced RunRev users avoid it completely and handle their own resizing of controls in the way described above by hliljegren.

Re: Resize Windows and objects

Posted: Wed Nov 25, 2009 4:37 pm
by Vincent
Thanks for your help.

I managed to do what I wanted using "geometry" properties.


Best regards,
Vincent.