Download Link: http://www.rotundasoftware.com/livecode ... arPane.php
Code: Select all
dispatch function "rt_Height( theRect )" to group "CalendarPane"
dispatch "rt_MoveTo @theRect" to group "CalendarPane" with "150", "118"
Here is the excerpt from lib_Rect stack:
lib_Rect v.09
By David Beck
INSTRUCTIONS FOR USE
Make sure to add lib_Rect to your project and to execute the command:
start using stack "lib_Rect"
The you can use the following functions and commands:
rt_Left( theRect ) -- return left side of theRect
rt_Top( theRect ) -- return top side of theRect
rt_Right( theRect ) -- return right side of theRect
rt_Bottom( theRect ) -- return bottom side of theRect
rt_Width( theRect ) -- return width of theRect
rt_Height( theRect ) -- return height of theRect
rt_Make( theLeft, theTop, theRight, theBottom ) -- return "theLeft,theTop,theRight,theBottom"
rt_IsValid( theRect ) -- return true iff the rect has a non-negative width and height
rt_MoveTo @theRect, newLeft, newTop -- move theRect to newLeft, newTop
rt_Offset @theRect, deltaX, deltaY -- offset theRect by deltaX, deltaY
rt_Grow @theRect, growBy
rt_Intersection( rectA, rectB )
rt_Union( rectA, rectB )
rt_AlignAToB @rectA, rectB, direction -- align the center of rectA to the center of rectB
rt_AWouldFitInB( rectA, rectB )
rt_MoveAToBeWithinB @rectA, rectB