BTW: Why do you set 'handled' if you return true anyway?
Am Mittwoch, 20. Juli 2005 01:23 schrieb druid:
> 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;
> }
--
Mit freundlichen Grüßen
Helmut A. Bender
Helmut Bender GmbH
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/