druid wrote:

still causes a crash

static Boolean frmMain_fldNewDesc_OnfldEnter(EventPtr event)
{
        // Insert code for fldNewDesc
        //FrmPopupForm(frmDescPopup);
        //SetFieldText( fldNewDesc, globalField1 );
        FormPtr form;
        FieldPtr fldP;
        
        Boolean handled = false;
        form = FrmGetActiveForm();
        FrmSetFocus(form, FrmGetObjectIndex(form, fldNewDesc));
fldP = FrmGetObjectPtr(form, FrmGetObjectIndex(form, fldNewDesc)); SysKeyboardDialog(0);
        FldDrawField(fldP);
        return true;
}


Where does it crash exactly? Please try to use a debugger or debug output to show us the exact line.

Regards
Henk

--
-------------------------------------------------------------------------
  Henk Jonas                                            [EMAIL PROTECTED]
  Palm OS ® certified developer

  Please contact me, if you need an off-side contract worker.
-------------------------------------------------------------------------

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to