delphi 控件编辑器

时间:2024-10-04 16:05:26

控件编辑器和属性编辑器类似

http://www.rgzz.sdedu.net/ebook/hdbook/computer/bc/delphizhuanti/rmjq/028.htm

TCommonDialogComponentEditor = class(TComponentEditor)

或者
TCommonDialogComponentEditor = class(TDefaultEditor)

RegisterComponentEditor(TCommonDialog, TDialogEditor)
 
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Registering_the_Component_Editor
procedure Register;
begin
RegisterComponents('Miscellaneous', [TMyComponent);
RegisterComponentEditor(classes[0], TMyEditor);
end;