From: "Ken Hejmanowski" <[EMAIL PROTECTED]>
Subject: TextTableItem wider than column width?


> Is it possible to set the width of a TextTableItem in a table to be wider
> than the table column it is in?  I have a table with two columns, both
> containing TextTableItems.  I want text that appears in the first column
to
> run over into the second column when the text is too wide to fit
completely
> in the first (in such cases, there is no text in the second column to
worry
> about).

If these columns are not editable, an easy way to do this is to use one
column with a custom draw procedure.  Set the style with
TblSetItemStyle(tableP,row,col,customTableItem).  Set the callback function
with TblSetCustomDrawProcedure(tableP,col,YourCustomDrawFunc).  Then use
WinDrawChars() in YourCustomDrawFunc() to place the text in one or two
"columns" as needed.



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