Events On Instance Of Subclass

I have created a subclass of TCPSocket and called it “MyTCP”.
I then drag and drop this onto my form and call is “sock”
If I right click “sock” and select “Add to sock…” the “Event Handler” option is greyed out.

I can add event code to the subclass, but surely I want to only handle events in the instance of that subclass, because if I add them to the subclass then I cannot have different code for different instances (not that I’m doing that here specifically)?

I’ve searched but I cannot find a post dealing with this - please can someone point me in the right direction?


Turns out I needed to restart the IDE.
All is well after the restart.

Looks like the IDE gets confused at some points and greys out normally available options.