It got to be something easy but I couldn't see it:
I am drawing a table. I couldn't compile because of
the "undefined identifier 'DrawColmn2'" (DrawColmn3,
etc) error... but they are there.

In the FormInit: 
...
// only draw the 1st 4 rows
for (i = 0; i < numRows; i++) {
  if (i < 4) {
    TblSetItemStyle(table, i, 0, numericTableItem);
    TblSetItemInt(table, i, 0, i + 1);
    
    TblSetItemStyle(table, i, 1, customTableItem);
    TblSetItemStyle(table, i, 2, customTableItem);
  } else {
    TblMarkRowInvalid(table, i);
  }
}

// set up call back
TblSetCustomDrawProcedure(table, 1, DrawColmn2);
TblSetCustomDrawProcedure(table, 2, DrawColmn3);
...
...
static void DrawColmn2(void *table, Int16 row, Int16
column, RectangleType *bounds) {
  FontID curFont;
  Char symbol[2];
  symbol[0] = symbolAlarm;
  symbol[1] = '\0';
        
  curFont = FntSetFont(symbolFont);
  WinDrawChars(&symbol[0], 1, bounds->topLeft.x,
bounds->topLeft.y);
  FntSetFont(curFont);
}
...
...


__________________________________________________
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