Hi,
I'm having some problems handling the frmUpdateEvent for updating tables
in PalmOS 3.1 vs 3.5. What happens in the same code for PalmOS 3.1 is
the tables are left bold because (I think) some labels on the form are
bold but in PalmOS 3.5 everything is redrawn correctly.
// This form contains the table
//
Boolean FooHandleEvent(EventType *pevt)
{
Boolean fHandled = false;
switch (pevt->eType) {
case frmUpdateEvent:
{
....
fHandled = false;
}
break;
}
return fHandled;
}
// This form updates the table contents and returns to Foo form
//
Boolean GooHandleEvent(EventType *pevt)
{
Boolean fHandled = false;
switch (pevt->eType) {
case ctlSelectEvent:
switch (pevt->data.ctlSelect.controlID)
case ID_DONE:
{
....
TblMarkTableInvalid(pTable);
TblRedrawTable(pTable);
FrmUpdateForm(ID_FOO, frmRedrawUpdateCode);
FrmReturnToForm(ID_FOO);
fHandled = true;
}
break;
}
return fHandled;
}
Thanks
Brian
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/