Need a constructor with the signature Constructor() to be placed on a window

Hi all,

I wanted to implement a notification system within our app. My approach was to use a singleton class. I created methods and a few events. When I drop it on any window, I get “Class needs to have a constructor with the signature Constructor() to be placed on a window”

However I am having troubles doing just that.

As a plan B. What are the pro’s recommendation for routing Custom events, such as received server side changes etc. to windows.

Thanx all, and happy holidays.

Cheers from Iceland.
Dr. Svenni

with your window class selected,
choose insert → method
a new “untitled” method appears
at the right of the “untitled” there is a dropdown menu
choose constructor in this menu