2 things are my problem
1) a have a TMyframe=class(TFrame) defined in a package, but this frame is not listed in the frame palette. So I registered my class from a designtime package using several methods none of which appeared to do what I want. (RegisterCOmponent, RegisterClass and RegisterCustomModule)
2) The biggest problem since Delphi does not 'know' my frame, it is handled as a regular component, and when using it inline, the (sub) objects defined in it appear in the form resource as 'object' rather than 'inherited' causing 'object blahblah already exists' when the form is created later on. The same behaviour happens in the IDE's form designer. When I move this frame unit from my runtime components package to the main module (my "kernel" bpl) then object/inherited problem is gone, and everything appears to work normally. Probably because knows how to resolve "TMyCustomFrame".
So... How can I define frames in one package and use them in forms (in other packages or exe) during designtime without delphi messing up my form resource.
Using XE5, Update1, VCL
(I will have come up with some simple example, meanwhile I already wanted the question out there)
TIA