fixed TCollection editor to select last added

git-svn-id: trunk@7609 -
This commit is contained in:
mattias 2005-08-31 08:47:01 +00:00
parent 373eba5ee6
commit 59c432b6ce

View File

@ -3338,6 +3338,9 @@ begin
if Collection=nil then exit;
Collection.Add;
FillCollectionListBox;
if CollectionListBox.Items.Count>0 then
CollectionListBox.ItemIndex := CollectionListBox.Items.Count-1;
SelectInObjectInspector(true);
UpdateCaption;
Modified;
end;