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

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;
 
posted on 2017-04-07 20:43  lypzxy  阅读(873)  评论(0编辑  收藏  举报