Jul 9, 2006 #1 RyanEK Programmer Apr 30, 2001 323 AU Hi All, Each column in a DBGrid has a TCollectionItem.ID, which assigns an new ID value everytime a column is added. If I clear the columns, is there a way to reset the TCollectionItem.ID to start back at 0? Thanks Ry
Hi All, Each column in a DBGrid has a TCollectionItem.ID, which assigns an new ID value everytime a column is added. If I clear the columns, is there a way to reset the TCollectionItem.ID to start back at 0? Thanks Ry
Jul 10, 2006 #2 towerbase Programmer Jul 31, 2002 1,053 GB Why do you want reset the id back to zero? The Delphi Help explicilty states that the TCollectionItem id numbers are permanent for the lifetime of the collection. Andrew Hampshire, UK Upvote 0 Downvote
Why do you want reset the id back to zero? The Delphi Help explicilty states that the TCollectionItem id numbers are permanent for the lifetime of the collection. Andrew Hampshire, UK