Hi!
In my application I have a table with two columns. Column one contains
checkboxes and column two should handle text.
The text is not editable, and when you click on it, a new form will appear.
I created everything (based on the librarian viewlist example of the Palm
Programming Bible), but
right now, each row can only display one line of text, but each row should
be able to
display three lines of text.
The text should be displayed according to the following example:
columns:
1 | 2
+---+--------------------------------------
[ ] | 03-03-2002 - 19:30
| Appointment with Mr. X and his wife
| who is the leader of the baseball club.
+---+--------------------------------------
[ ] | 04-03-2002 - 17:00
| Meeting with ... .. at Sanford
| Stadium ..
and so on..
My problem is now.. how can I display more lines of code in one text-cell.
The text is read from a database and combines the datetime field and a char*
field
I guess that using a TblSetLoadDataProcedure won't work since it's only
possible
to display text from one text-field?
In the librarian listview-example I used, DrawCharsinWidth is used but when
I
set the lineHeight to three, I can't display any text in line 2 and line 3
of each row..
Any ideas what may be the easiest way?
I've been looking at the ToDo-example but since it draws the description
using a
TblSetLoadDataProcedure I don't think this might work..
Can anybody help me or show me any code how to change my code so that it
will work?
Any help greatfully appreciated!
Dyk
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/