I'm writing an application that like a DA adds a button onto the command bar. I can add the button and respond to its selection from another application. In response to the button I want to display a form and I do this with:
formBack = FrmGetActiveForm(); form = FrmInitForm(frmPopup); FrmSetActiveForm(form); FrmDrawForm(form); // my event loop for the form, returns when exit button pressed PopupEventLoop(); FrmEraseForm(form); FrmDeleteForm(form); FrmReturnToForm(FrmGetFormId(formBack)); However when I exit from my PopupEventLoop() I get the following fatal alerts from the Garnet Simulator: form.c, Line:237, Call FrmEraseForm first form.c, Line:6071, NULL form and then the simulator crashes. What am I doing wrong? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
