I suppose it is simpler: the OnClick event is not connected to the method anymore or at all, maybe?
When I began using Delphi in 1995 I made that mistake a lot:
- you first design it, create the event through tthe IDE
- then you decide, it's better to do on the fly
- you adapt the code inside the onclick event
- but that is no longer connected.
- that also needs to be done on the fly...
@wp
good remark, I would not "assume" anything when it is on the fly.