but compiler says yes
#include <PalmOS.h>
#include "testdb.h"
#include "testdb_res.h"
FormType *frmP;
Boolean handled = false;
ControlType *one;
static Boolean frmQuestNew_frmDoneButton_OnSelect(EventPtr event)
{
frmP = FrmGetActiveForm();
// Insert code for frmDoneButton
one = FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP,chkHeritage));
If (CtlGetValue(one)) StrCopy(heritage, "YES");
else
StrCopy(heritage, "NO");
handled = true;
return true;
}
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/