Hi.

Did you do the redraw when you handle tblEnterEvent or tblSelectEvent?  You may
have problem if it is the later because the Table Manager hilights the selected
cell (well, I guess it depends on what type of table item you are using). The
redraw will clear it. You may try the "markinvalid/redraw" during
tblEnterEvent. This is covered in the O'Reilly's 2nd ED guide book.

My guess could be wrong.  I will be learning something new then. :)

Max
--- Garth Coedie Terrell <[EMAIL PROTECTED]> wrote:
> Can someone please tell me the proper way to approach this?
> 
> On my user interface I have a table that is supposed to alter a cell if you
> click on it. The problem is if I use a "mark table/row invalid" function
> followed by a table redraw, only the cells that are not clicked are redrawn.
> This is due to the TablePtr->attr.editing attribute being set.
> 
> I tried setting this to false as a workaround, just before calling
> TblRedrawTable, but this causes a memory leak of about 12 bytes.
> 
> The editing attribute also continuously stays set while a user does nothing,
> and so I cannot draw the table after they have touched the screen.
> 
> I've also tried clearing the "Editable" attribute of the table. PalmOS
> constructor seems to not affect this attribute, and if I set it
> programmatically the table receives no events.
> 
> Help please?
> 
> Garth
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/tech/support/forums/


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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