On Jun 8, 2005, at 2:55 PM, �ric Miclo wrote:

Hello,

Does someone know if there is a way to set an object's geometry by script and where I can find some documentation to write the corresponding scripts.

�ric,

Check out these properties that all objects have:

the rect(angle)
the loc(ation)
the height
the width
the top
the bottom

This is not a complete list but should let you set almost any aspect of the object's size and location.

For example:
  set the rect of fld "myField" to 100,100,400,300

  set the height of fld "myField" to 100
  set the top of fld "myField" to the bottom of btn "myButton" + 10

HTH
Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to