Resizing a Text Field Dynamically, While Locking Its XY Coordinates

Mark Wieder mwieder at ahsoftware.net
Tue Jan 13 21:20:57 EST 2009


Ron-

Tuesday, January 13, 2009, 3:27:51 PM, you wrote:

> What I like is how few lines of code can give one just the results desired.
> When I tried the Rect property and it worked perfectly, it was like magic!
> Very cool, indeed.

But be aware that if you start messing with the rect values *and*
adjust the height and width properties, the order in which you do
things will affect the result in ways that may surprise you. It makes
sense if you think about it afterwards, but it's not immediately
intuitive.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list