Hello,
for my own TCollection descendant I want to extend the collection property editor. I want to see more columns for other properties of my TCollectionItem. And I am a lucky because it is pretty easy. The only thing I want to do was to override these three methods
TAttributeList = class(TOwnedCollection)
private
...
protected
function GetAttrCount: Integer; override;
function GetAttr(Index: Integer): string; override;
function GetItemAttr(Index, ItemIndex: Integer): string; override;
public
...
end;
to retrieve the number of columns, the title of a column and the value of a column for an item of the collection.
Now I want to edit the attribute cells. Is fun stopping here and I have write a complete collection editor by myself (perhaps as a copy or desendant of TCollectionEditor in unit ColnEdit.pas)?
I hope there is something simpler but otherwise I interesting in examples of build an complex TCollectionEditor.
Ciao Heinz Z.