Seting an object's geometry by script

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Jun 8 17:17:52 EDT 2005


Hi Eric,

If you set the geometry of an object in the geometry pane of the  
property palette, this implements the cRevGeometry property set of  
the object with many properties in it.
Rev uses theses properties to resize the object.
You can force geometry update by using the reUpdateGeometry command.
To set the geometry of an object by script, see my last post as a  
starting place: set the rect, the left, the bottom, the width, etc. :-)
And don't try to rummage thgrought rev properties sets...

Le 8 juin 05 à 23:07, Éric Miclo a écrit :

> What I wanted to do is to set the geometry of an object by script  
> and not writing a script that resizes objects when the stack is  
> resized. Am I clear.
> What I wanted to know is if an object's geometry is a sort of  
> property that can be set.
> If not I'll do it the way you suggested.

Best regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------



More information about the use-livecode mailing list