Colon operator for event?

I have an event, how can I properly use Colon Operator to check if an event is nil?

event MyEvent EventHandler;

…
if assigned(MyEvent) then // How to use Colon operator here?
…

MyEvent:()???

Try to use MyEvent:Invoke()

Thank you. But this doesn’t work with Island-Window?

Correct, “Invoke” is an implementation detail on the .NET platform. The proper way, I’m afraid, would be to stick to using assigned() on the event pointer.