I got a run-time error in my application when I had added two instances of the same TFrame on the same form. The error message looked like this:
Fair enough, but the thing was that only one of the frames was called 'MyFrame'. The other one was called 'MyFrame2'.
Apparently, the problem is that one of the two frames on my form using the default name as it is in unit that declares the frame TMyFrame.
So, if you only uses one frame of type TMyFrame on the form, it is okay to call it MyFrame, but if you have two ore more, none of them can be called MyFrame.
Lesson learned!