mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 19:29:30 +02:00
fixed setting event of an TCollectionItem from Michael VC
git-svn-id: trunk@8113 -
This commit is contained in:
parent
1ece20396b
commit
75890d34bf
@ -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;
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user