IDEIntf: using TComponentNamePropertyEditor only for TComponent, bug #11839

git-svn-id: trunk@16033 -
This commit is contained in:
mattias 2008-08-12 12:44:20 +00:00
parent 1f21f5efc1
commit 6c5d67e54c

View File

@ -6252,7 +6252,7 @@ begin
// RegisterPropertyEditor(TypeInfo(TColor),nil,'',TColorPropertyEditor);
DummyClassForPropTypes:=TDummyClassForPropTypes.Create;
RegisterPropertyEditor(DummyClassForPropTypes.PTypeInfos('AnsiString'),
nil,'Name',TComponentNamePropertyEditor);
TComponent,'Name',TComponentNamePropertyEditor);
RegisterPropertyEditor(DummyClassForPropTypes.PTypeInfos('TTranslateString'),
TCustomLabel, 'Caption', TStringMultilinePropertyEditor);
RegisterPropertyEditor(DummyClassForPropTypes.PTypeInfos('TTranslateString'),