ActiveForm Problem

Hi,

In demo TMSWEB_Multiform when I open form2 from form1 and then close form2,  Application.ActiveForm.Name is still form2 although form2 was closed.

Why?

Regards,

Where do you access that property? Remember that everything in the web world is asynchronous, so you have to be careful when you access what. I think it is quite possible that you access ActiveForm without the framework having had a chance to update before you get the chance to interact after closing.

Hi,

I added to copy of TMS MultiForm demo project button "Check Active Form" connected to ShowMessage('ActiveForm is:'+Application.ActiveForm.Name);

You can get changed project and screen from https://appmaster.pl/tms

You can try this:
1) Run application
2) Click "Click here to open the second form"
3) Close form2
4) Click my button "Check Active Form"

Why active form is closed form2?

Regards,

Thanks for reporting.
We have traced & solved this issue. The next update will address this.