You are right on the issue with frmReturnToForm not giving the Close Event.

That is why I do it as I do... I think you misunderstood...
Does this give you an idea of what I mean?

[snip]
int frmMainOnOpen()
{
    /* Grab form db, update list */
}
void frmMainAdd()
{
    FrmPopupForm(frmAdd);
}
void frmAddSaveClick()
{
    /* Save to db */
    FrmReturnToForm(0);
    frmMainOnOpen(event);
}
[snap]

Hope it does...

/morten

"Salli" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Morten,
>    my app does that, but it's not updating the list.  I think it's because
> I'm using the FrmReturnToForm(0) call which, as I understand it, doesn't
> cause a Close Form event, it just goes back to the original open form and
> leaves it in it's current state, therefore not generating an Open Form
event
> either.
>
> Salli



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

Reply via email to