I want the table to be able to scroll horizontally. Because i display data on colums. But there's too many. Is this possible ........ If so how can i do it.
Thanks in advance Dhanushka. -----Original Message----- From: Ben Combee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 9:09 PM To: Palm Developer Forum Subject: Re: Displaying data which spans more than the visible width of a Tabl---e or List In article <84483@palm-dev-forum>, [EMAIL PROTECTED] says... > > I want to display some data using the Table or List resource. But I find it > difficult to display the whole record because it spans more than the visible > width (160). Can someone tell me how to display data which spans more than > the visible width using a Table or List resource. It won't be possible for a list, since each line has a fixed height. For a table, you can figure out how many lines high your data is (using calls like FntCharsInWidth), then set the cell height yourself to allow you room to write all the text. You could also just use a read-only field and let it deal with the wrapping and resizing for the table cell. There's code in the AddressBook sample for doing this. Look at the AddrDetails.c file, IIRC. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
