Inside your custom row draw routine, you are already placing your text
in fake columns.  Just draw a little vertical line between the two columns
just for that row.

As all of the rows get drawn, the vertical line will also get drawn for the
length of the table (well...it will be as long as the last visible row).
It should also invert properly if the row is selected if you do it this way.

Brandon


----- Original Message -----
From: Jason Freund <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Thursday, June 08, 2000 10:22 PM
Subject: Drawing column separators for tables


>
> I've seen some apps draw dotted lines to separate column tables (such as
> LoanWizard).  But the API doesn't seem to support any type of border or
> separator drawing for tables.
>
> I have a table with one column that is artificially broken in two using a
> custom drawing procedure to tabify the row into columns (because I want
> users to select the entire row, and not individual cells in the row).  I
> hacked in a routine to draw my (fake) column separator and call it after
> every TblDrawTable, TblRedrawTable.
>
> Seems to work except when the table is first drawn or rows are selected,
my
> dotted separator is overwritten.
>
> Is there a safer or cleverer way to draw accross table rows?  How does
> LoanWizard accomplish it's nice boundaries and separators?
>
> -Jason
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
>


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