fixed setting event of an TCollectionItem from Michael VC

git-svn-id: trunk@8113 -
This commit is contained in:
mattias 2005-11-08 22:12:50 +00:00
parent 1ece20396b
commit 75890d34bf
2 changed files with 3 additions and 2 deletions

View File

@ -5498,7 +5498,9 @@ begin
Result:=TPropHookGetObjectName(FHandlers[htGetObject][i])(Instance);
end else
if Instance is TComponent then
Result:=TComponent(Instance).Name;
Result:=TComponent(Instance).Name
else if instance is TCollectionItem then
Result:=TCollectionItem(Instance).DisplayName;
end;
procedure TPropertyEditorHook.GetObjectNames(TypeData:PTypeData;

View File

@ -715,7 +715,6 @@ end;
procedure TAnchoredDockManager.InsertControl(Control: TControl;
InsertAt: TAlign; DropCtl: TControl);
<<<<<<< .mine
Docks Control to or into DropCtl.
Control.Parent must be nil.