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.