Google did not give anything. Components to create a standard way is not included in the idea. I use C ++ builder. In order to increase knowledge, I would like to create a class that, for example, inherits everything from TButton .

 class bob: public TButton { public: }; 

The main problem is the constructor. In general, it is impossible to write it, an error of the type “cannot find a constructor to initialize the base class” is issued. And if you rewrite it, how can you not screw it up so that the button is not created.

 bob ba= new bob(Form1); 

At the second problem. There is a chance that it will disappear when the first is decided.

Thank you in advance.

    1 answer 1

    A.Ya.Arkhangelsky, "Programming C ++ Builder 6", p.519, M., 2002. I, guided by this, created objects, inheriting from TChart, TEdit, TPanel, TSeries. Everything turned out, I use to this day.