> static Boolean frmMain_fldName_OnfldEnter(EventPtr event)
> {
> // Insert code for fldName
FieldPtr fldP;
> FormPtr form;
> Boolean handled = false;
> form = FrmGetActiveForm();
fldP = FrmGetObjectPtr(form, FrmGetObjectIndex(frm, fldName));
> FrmSetFocus(form, FrmGetObjectIndex(form, fldName));
> SysKeyboardDialog(0);
FldDrawField(fldP);
> return true;
> }
so change it to something like this
could I not also use the fldP for the FrmSetFocus ?
fldName is an actual field on the form
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/