[Lazarus] Registering a TFrame to component palette

Juha Manninen juha.manninen62 at gmail.com
Fri Jun 11 23:48:40 CEST 2021

Regarding issue : https://bugs.freepascal.org/view.php?id=28450

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.
Could somebody please explain how it works in Delphi. Does this really work
  RegisterComponents('Sample', [TMyFrame]);

I added a comment to the report but it is old and the reporter may not read
Maybe there should be a new function RegisterFrame() or similar?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210612/000ba77a/attachment.html>

More information about the lazarus mailing list