Change your code like this and try.
FrmInitForm(InfoForm);
FrmDoDialog(FrmGetFormPtr(InfoForm));
FrmDeletForm(InfoForm);
Wish you a happy and prosperous new year
Raja Sekhar
----- Original Message -----
From: Brian O'Grady <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 22, 1999 11:18 PM
Subject: problem w/closing a modal form
> Hello,
>
> I have a modal form - InfoForm- that is displayed when a user taps on
a
> table row on the main form. The InfoForm displays fine but I am not able
to
> close it. When I tap on the "done" button on the InfoForm the
> MainFormHandleEvent function it called. I know it is the active from
because
> I write to it. Is there something I am missing or does the modal form
ignore
> events by nature? Thank you very much.
>
> I use this to draw the form.
>
> FrmInitForm(InfoForm);
> FrmDrawForm(FrmGetFormPtr(InfoForm));
>
> Brian O'Grady
>
>
>
>
>