EventHandler inside a TFrame?
问题 I have a TForm (TVehicleEditForm) with 3 identical TFrames (TVehicleUnitFrame) inside. The idea was that every instance of the frame handle own events by a eventhandler inside the frame. The problem is that the eventhandler is not called. I have tried to assign the eventhandler by code inside the frame by overriding the Create method but the handler is not called in that case either. But if I assign the eventhandler outside the frame from the form it works fine. Like this: