Application.ActiveForm is unexpectedly nil

Hello,

I am looking into an issue on my web app related to Application.ActiveForm unexpectedly being nil. This cause problems on on of my methods that tries to figure what is the current active form:

These are the steps to reproduce the issue:

  • Have a We Core application that has a FNC Data Grid that allows column filtering and a button that displays the Application.ActiveForm class name.
  • Click on the button, and as expected get the class name displayed.
  • Dismiss class name display if needed
  • Now click on the filter button on any column and immediately click the button. Filter window is dismissed
  • Now click button to display Application.ActiveForm.ClassName and get an exception related to the Application.ActiveForm being nil.

What is going on? Is this an issue with my code? Or is this a TMS bug?

I have attached a video and a simple Delphi project that reproduces the issue.+

I have the lates version of TMS *, and I am using Delphi 13 as an IDE

Please, let me know what is wrong and how to fix.

Thanks,

Alan

WebCoreFormIssue_2.zip (14.5 KB)

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

You are welcome - Do you have an ETA for when this will be deployed to customers?

Earliest moment will be in the next v3 beta build, with no unexpected issues next week.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.