02-07-2023, 11:08 AM
Hi Alexandre,
i turned off the form ID check temporary and it's working now.
Unfortunately, the event handler IWAppFormAsyncPageUnloaded() is only triggered for the configuration specified in the example.
I created a configuration where all forms are derived from a base class, including the MAIN form.
If I include the event handler IWAppFormAsyncPageUnloaded() in the base class and create a new form with
WebApplication->ShowForm(__classid(TIWFormMenu1), false);
or
TIWFormMenu1* pCurForm = new TIWFormMenu1(this);
pCurForm->Show();
in the menu of the MAIN form, the event handler is no longer called anywhere.
In addition, the behavior of the newly created forms seems partially changed.
Regards
Juergen
i turned off the form ID check temporary and it's working now.
Unfortunately, the event handler IWAppFormAsyncPageUnloaded() is only triggered for the configuration specified in the example.
I created a configuration where all forms are derived from a base class, including the MAIN form.
If I include the event handler IWAppFormAsyncPageUnloaded() in the base class and create a new form with
WebApplication->ShowForm(__classid(TIWFormMenu1), false);
or
TIWFormMenu1* pCurForm = new TIWFormMenu1(this);
pCurForm->Show();
in the menu of the MAIN form, the event handler is no longer called anywhere.
In addition, the behavior of the newly created forms seems partially changed.
Regards
Juergen

