控件编辑器和属性编辑器类似
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;
请发表评论