This is mainly from the addressbook sample. Call a function to initialize
the rows of the table. Inside the function do this:
1. Get the height of the text to be displayed in the row. You can use
FldCalcFieldHeight function to do this. Use the column width of the table
for width. Multiply the return value with FntLineHeight(), to get the height
in pixels.
2. Call TblSetRowHeight to set the height of the row.
3. Invalidate the row to redraw it. This may not be reqd. if you load the
table only at the begining.
-Sugho-
>From: <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Urgent: TextTableItem multiline field problem
>Date: Wed, 16 Aug 2000 13:46:04 -0700
>
>Hello experts!
>
>How can I make a dynamic field in a table
>(textTableItem type) be fully visible when the table
>loads? For example, a field loads 3 lines of text,
>and I would like it to be fully expanded when initially
>loaded.
>
>I tried putting a call to FldMakeFullyVisible in the
>load data routine for the column, but this didn't
>work. I have tried a lot of other options including
>generating a pen down event on the textTableItem field.
>Nothing seems to work.
>
>Someone else had posted a similar question and I find
>no response for that message either.
>
>PLEASE HELP!
>
>Thanks in advance,
>
>Subu Iyer
>Compaq Computer Corp.
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/