Re: D2006 Object inspector component



Maarten Wiltink pisze:
A drawgrid.

VirtualTreeView does feel complicated until you get your head around it.
It's a different way of thinking. It's also immensely powerful anf
flexible and this may be reflected in the amount of code you need to
produce to make it work just so.

Groetjes,
Maarten Wiltink


So what do you suggest? Which component.

I already made up my mind with the idea that I have to write something by myself.
I think about doing an object with 2 lists inside, one for the categories and one for the values. Two kind of records
TCategory=Record
Name:String;
CatValues:TList
end;
The CatValues list will contain pointers to the records that belong to the category of the main values list. I don't think it's worth to build a tree as I have just 2 levels.

Later I will need a similar way to display a bit different values and I think about building them as a series of objects with list of their children inside so I can build a tree-like structure. It won't be deep, maybe 2 or 3 levels, so I could use the same componet to display, even if it will need a lot more functionality as it must display multiline text, pictures, buttons, etc. (each object will contain the list of elements to display)


.


Quantcast