That did it.  Thanks.

One of the fields is non-editable text, and has to line up with certain
points in the field next to it.  When the editable field changes height (add
or remove lines), I dispose the other field, parse the editable field, and
recreate the non-editable field.

I needed some way to know about height changes, other than watching each
keystroke & parsing the editable field to see if it changed...  That
approach seemed too wasteful in cycles...


on 8/24/01 11:56, Peter Epstein at [EMAIL PROTECTED] wrote:

> If I recall correctly, you have to set a bit in the field resource in order
> to get the height changed event. It's called Dynamic Size in Constructor.
> That said, I advise against the whole approach of dynamically positioning
> fields as you're trying to do. I did it in BeamBooks (with both fields being
> editable), and it turned out to be both difficult to implement, and prone to
> break in new OS releases. I suggest either using a table or coming up with
> some way to get by with just a single field. Maybe what you're trying to do
> is different, but it sounds similar. Just don't want you to go through what
> I did ;-)


-Tom Hoelscher

~~~~~~~~~~~~~~~~~~~~~~~~~~
"Original Sin is hard to find, but the digitally enhanced version is readily
available".


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to