use EnsureVisible to show collection property editor (bug #7398)

git-svn-id: trunk@10215 -
This commit is contained in:
vincents 2006-11-17 14:38:48 +00:00
parent 3e30ff60cb
commit a51b2a96e2

View File

@ -3663,7 +3663,7 @@ begin
If CollectionForm=nil then
CollectionForm := TCollectionPropertyEditorForm.Create(Application);
CollectionForm.SetCollection(TheCollection,GetComponent(0),GetName);
CollectionForm.Show;
CollectionForm.EnsureVisible;
end;
{ TClassPropertyEditor }