Re: D2006 Object inspector component
- From: DoctorC <ecolautti@xxxxxxxxxxxxxx>
- Date: Wed, 26 Mar 2008 11:10:01 +0100
Maarten Wiltink pisze:
A drawgrid.So what do you suggest? Which component.
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
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)
.
- Follow-Ups:
- Re: D2006 Object inspector component
- From: Maarten Wiltink
- Re: D2006 Object inspector component
- References:
- D2006 Object inspector component
- From: DoctorC
- Re: D2006 Object inspector component
- From: Rob Kennedy
- Re: D2006 Object inspector component
- From: DoctorC
- Re: D2006 Object inspector component
- From: Maarten Wiltink
- Re: D2006 Object inspector component
- From: DoctorC
- Re: D2006 Object inspector component
- From: Maarten Wiltink
- D2006 Object inspector component
- Prev by Date: Re: Rich Edit and wordwrap
- Next by Date: Re: D2006 Object inspector component
- Previous by thread: Re: D2006 Object inspector component
- Next by thread: Re: D2006 Object inspector component
- Index(es):