Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-14 Thread J. Landman Gay
Sarah Reichelt wrote: On Wed, Jan 14, 2009 at 10:21 AM, Kay C Lan wrote: On Wed, Jan 14, 2009 at 7:30 AM, J. Landman Gay wrote: Sarah Reichelt wrote: 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

Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread Mark Wieder
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*

Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread Sarah Reichelt
On Wed, Jan 14, 2009 at 10:21 AM, Kay C Lan wrote: > On Wed, Jan 14, 2009 at 7:30 AM, J. Landman Gay > wrote: > >> Sarah Reichelt wrote: >> >> 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 hang

Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread Kay C Lan
On Wed, Jan 14, 2009 at 7:30 AM, J. Landman Gay wrote: > Sarah Reichelt wrote: > > 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

Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread J. Landman Gay
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

Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread Ron Toledo
Hello All, Thank you all very much; yes, the Rect property is definitely the way to go. I also got a similar response from Malte. As I mentioned to him, it's amazing to me (as a newbie, but longtime fan of Revolution) how elegant this language is. Imagine trying to purely code this in Adobe Fle

Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread Sarah Reichelt
> I'm experimenting with just the left text field and grabber icon at this > time. My current challenge is that when I drag the grabber, the text field > on the left resizes in width-- however, it resizes from its centerpoint > outwards. Ideally, I would want the text field's XY coordinates to re

Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread J. Landman Gay
Ron Toledo wrote: Hello All, I'm new to Rev, and am attempting to create a paned interface on a stack. Welcome! Specifically, I have two text fields, with a little grabber icon between them. The effect I'm trying to accomplish is that, as I drag the little grabber button between the two fi

Re: Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread Scott Rossi
Recently, Ron Toledo wrote: > I'm new to Rev, and am attempting to create a paned interface on a stack. > > Specifically, I have two text fields, with a little grabber icon between > them. The effect I'm trying to accomplish is that, as I drag the little > grabber button between the two fields,

Resizing a Text Field Dynamically, While Locking Its XY Coordinates

2009-01-13 Thread Ron Toledo
Hello All, I'm new to Rev, and am attempting to create a paned interface on a stack. Specifically, I have two text fields, with a little grabber icon between them. The effect I'm trying to accomplish is that, as I drag the little grabber button between the two fields, the two fields on either si