I hate to respond to my own post but I think I've isolated my problem a bit
more. I've written my own penDown handler for taps within the bounds of the
table and am inverting the row myself. The problem appears to be with the
TblGetItemBounds(). For custom drawn items, the extent.y is hard coded
rather than the actual height of the row. I'm able to get around this
problem with my own pen event handler for the table but it sure would be
nice to be able to avoid this complexity.
Thanks again,
-Paul
--
Paul Dugas, Computer Engineer mailto:[EMAIL PROTECTED]
Dugas Enterprises, LLC At The Ga. DOT http://pauld.dugas.com
1711 Indian Ridge Drive tel:404-624-7840 tel:770-516-4955
Woodstock, GA 30189-6856, USA fax:404-624-7842 fax:770-516-4841
> -----Original Message-----
> From: Paul A. Dugas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 09, 1999 2:01 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Another Feature request for Palm OS 3.5
>
>
> > -----Original Message-----
> > From: David Fedor [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 09, 1999 12:52 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Another Feature request for Palm OS 3.5
> >
> >
> > >Could the Table Manager be amended to support varying height rows?
> >
> > A single row with a varying height? Or rows which each have
> > different heights?
>
> David,
>
> All rows in the table the same height. If I set the table height
> to say 100
> and the number of rows to 4, each row is 25 high. My table contains a
> couple custom-drawn columns and only the top of each item is responsive to
> pen taps. I believe this is due to how the table manager calculates the
> bounds RectangleType for custom drawn table items.
>
> I remembered that the AsciiChart program has a table with taller rows and
> took a look at it. Sure enough! It's got the same problem. Try
> tapping on
> the bottom half of one of the characters in the table. Try penDown on the
> top of an item them penMove out of the item. See? Silly isn't it? Why
> does it do this?
>
> Clarification: Could the table manager be modified such that when it
> internally calculates the bounds of custom drawn table items, it uses the
> height of the row rather than the height of a single line of bold text?
>
> Thanks,
>
> -Paul
> --
> Paul Dugas, Computer Engineer
mailto:[EMAIL PROTECTED]
Dugas Enterprises, LLC At The Ga. DOT http://pauld.dugas.com
1711 Indian Ridge Drive tel:404-624-7840 tel:770-516-4955
Woodstock, GA 30189-6856, USA fax:404-624-7842 fax:770-516-4841