Does Delphi provide any nice way to iterate over TCollectionItems in a TCollection?
Something, perhaps, along the lines of...
for mycollectionitem in mycollection.Items do
mycollectionitem.setWhatever();
That doesn't compile though
or is there really nothing I can do that's more elegant than this:
for num := 1 to mycollection.Count do
mycollection.Items[num-1].setWhatever();