msd 5 Posted August 20, 2022 Hello, I would like to add some extra features to standard Delphi VCL components. For example, I want to expand the TEdit class with some properties and evets. When I create class TmyEdit = class(TEdit) in runtime, it works fine. I call the create method and I can use it. But! I need to have a TmyEdit as a VCL component which can be put in a form at design time and configure some properties and connect some events at design time. I tried with Initialization RegisterClass(TmyEdit), but the same error is there. The error is: class TMyEdit is not found. Ignoring this error will delete this component... Thanks for any info and advice in advance... Share this post Link to post
Stano 143 Posted August 20, 2022 An option I know of is to create your own component based/derived from e.g. Edit. Then follows the creation and installation of the package. Share this post Link to post
FPiette 383 Posted August 21, 2022 Probably the documentation will help you: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Registering_Components 1 Share this post Link to post