<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="color:rgb(66,72,75);font-family:"Open Sans";font-size:13.3333px;background-color:rgb(249,249,249)"><div dir="ltr">Regarding issue : <a href="https://bugs.freepascal.org/view.php?id=28450">https://bugs.freepascal.org/view.php?id=28450</a></div><div dir="ltr"><br></div><div dir="ltr">The parameter passed to function RegisterComponents() is TComponentClass which means "class of TComponent". It is only type information and does not carry information about sub-components.</div><div dir="ltr">Could somebody please explain how it works in Delphi. Does this really work :</div><div dir="ltr"><div dir="ltr">  RegisterComponents('Sample', [TMyFrame]);</div><div><br></div></div><div dir="ltr">I added a comment to the report but it is old and the reporter may not read it.</div><div dir="ltr">Maybe there should be a new function RegisterFrame() or similar?</div><div><br></div><div>Regards</div><div>Juha</div><div><br></div></span></div></div></div></div></div></div>