Atozed Forums

Full Version: Session has no active form
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am unable to find the cause of this message in my code.
Check that you don't have any unhandled exception on OnNewSession-Handler.. I had this a few days ago.
(10-09-2023, 09:06 PM)svenheuer Wrote: [ -> ]Check that you don't have any unhandled exception on OnNewSession-Handler.. I had this a few days ago.

It fails for the first session.
(10-09-2023, 11:09 PM)tobenschain Wrote: [ -> ]
(10-09-2023, 09:06 PM)svenheuer Wrote: [ -> ]Check that you don't have any unhandled exception on OnNewSession-Handler.. I had this a few days ago.

It fails for the first session.

I was missing 

initialization
  TIWForm1.SetAsMainForm;
end.