Reputation: 6979
I need an advice in problem with TFieldDef. I need to add one additional string property to the TFieldDef called Description. I want to see that property when I iterate over TFieldDefs collection. How to do this in Delphi 2007?
Thanks for your time.
Upvotes: 2
Views: 386
Reputation: 126547
Mostly, you can't. But you can re-purpose another property such as DisplayName
or Tag
. You could also write a class helper, but you'd have to store the data elsewhere.
Upvotes: 6