You are right - I meant to set my rows unusable
instead of invalid. If I call TblSetRowUsable (table,
i, false), would the system still draw these rows and
then hide them? I don't need them to be drawn because
I don't have data for all the cells all the time. 

re: function call. I do have all the functions inside
the same file (main.c)... right next to each other.

static void MainFormInit(FormPtr /*frmP*/){
...
}

static void DrawColumn2 (void *table, Int16 row, Int16
column, RectangleType *bounds) {
...
}

--- David Eyler <[EMAIL PROTECTED]> wrote:
> Christy,
> 
> This is because you've declared DrawColumn2 to be
> "static" which means that
> it is invisible outside of the source file that its
> in.  Its the equivalent
> of a "private" function in an object oriented
> language.  So the compiler
> thinks "DrawColumn2" is undefined.
> 
> One other thing, I'm pretty sure you want
> 
> TblSetRowUsable (table, i, false);
> 
> and not
> 
> TblMarkRowInvalid(table, i);
> 
> The former makes the row invisible, the latter is
> used to indicate the the
> table's data is changed and its needs to be redrawn.
>  See the API to see
> what I'm talking about.
> 
> regards,
> Dave Eyler
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to