TURBU Tech – What’s wrong with this code? procedure TMyCustomChecklistPopupControl.ClosePopup; var i: integer; begin inherited ClosePopup; FInternalItemStringList.Clear; for i := 0 to Self.CheckedCount - 1 do FInternalItemStringList.Add(Self.CheckedItems[i].Name); end; At first glance, it looks just fine. It’s semantically correct–it will do what you want it to. If you happen to have seen a certain issue before, something might jump out at you, but if not, you probably think this is OK. And most of the time, it is. This is a ...
Visits by Source
Users who voted for this posting