RegisterComponents

Top  Previous  Next

What is translated > RegisterComponents

 

Since components are an important feature of Delphi, a special translation routine was made for their registration.

 

RegisterComponents('NewPage',[TCustom1, TCustom2]);

->

TComponentClass classes[2] = {__classid(TCustom1), __classid(TCustom2)};

RegisterComponents("NewPage", classes, 1);

 

 



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content