Is there a web site or utility I can use to look at
various Palm fonts without loading them into the
emulator?
Also, I would like to have every OTHER line of a table
underlines, across the whole table. It turns out that
two lines in the table contain information from the same
record, and I would like to provide a visual delimitation
between records.
The table has three columns, all with custom draw routines,
which contain text. After I write the text with WinDrawChars,
I tried adding a line along the bottom with WinDrawLine, but
it didn't appear. I used the following:
If (row % 2)
WinDrawLine(bounds->topLeft.x,
bounds->topLeft.y + bounds->extent.y - 1,
bounds->topLeft.x + bounds->extend.x,
bounds->topLeft.y + bounds->extent.y - 1,
(I tried it with and without the -1, thinking I was maybe just
beyond the edge of the cell.)
The three custom draw routines (one for each of the three columns)
has exactly the same code).
Why wouldn't this work? Is there a better way?
One alternative I've been trying to avoid is to actually make each
row in the table two lines high, and return to the more standard
"one row = one record" paradigm. I'd then have to be more tricky
on sizing the row height and positioning the two lines of text
within the row, which I'd rather not do.
Any could PalmOS coding cookbooks or resources out there? I don't
need a basic programming or primer, but rather a reference on
best practices, tip and tricks, etc (very like the PERL Cookbook
from O'Reilly, for example).
Thanks!
Brian Atkins
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/