On Tuesday, November 14, 2000 2:10:19 AM, Jenny Westin wrote:

> I have checked "dynamic size" in the constructor for my field. Still it
> doesn't expand when I write more than one line of text??
>
> How do I really get it dynamic??
>

You respond to fieldChangedEvent event and resize it yourself.  All the
"dynamic size" attribute does is cause the Field Manager to post the
fieldChangedEvent event every time the user edits the field in a way that
would cause the field to change height.

For an example of how to do this, see the table manager source (part of the
OS 3.0 sources, or get the 1.0 version of the table source code as article
1152 in the knowledge base).

Neil
--
Neil Rhodes
[EMAIL PROTECTED]            Available for contract programming
Coauthor: Palm Programming: the Developer's Guide (O'Reilly)


-- 
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