Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resetting TCollectionItem.Id

Status
Not open for further replies.

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

 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top