Resizing a Text Field Dynamically, While Locking Its XY Coordinates

J. Landman Gay jacque at hyperactivesw.com
Tue Jan 13 18:30:54 EST 2009


Sarah Reichelt wrote:

> Here is an example which increases the width of a field by 10 pixels,
> while keeping the topLeft of the field in the same place:
> 
> put the rect of fld "My Field" into tRect
> add 10 to item 3 of tRect
> set the rect of fld "My Field" to tRect

I just *knew* you were hanging out in my head again, Sarah. ;)

It's the time lag between us, I bet...on second thought, maybe I'm in 
your head.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list