Board index » cppbuilder » Re: Inheriting Change metod

Re: Inheriting Change metod


2004-07-25 04:29:04 AM
cppbuilder3
"ScOe" < XXXX@XXXXX.COM >wrote in message
Quote
TGroupItems is holding collection of groups and
every group has own collections of childs ...
You didn't answer my questions. What are the collections supposed to be
doing? What do the groups do? What do the child items do? Which of them
are supposed to be in control of the buttons that you are trying to manage?
Gambit
 
 

Re:Re: Inheriting Change metod

Quote
You didn't answer my questions. What are the collections supposed to be
doing? What do the groups do? What do the child items do? Which of them
are supposed to be in control of the buttons that you are trying to
manage?

As i said before main reason of using Collections is to get visual tool for
my kind of tree.
TGroupItem is holding the button. It manage buttons behaviour. Becouse
button is just representation of parent item, it must hold
subitems which are TCustomControl type. TGroupItem is also responsible for
showing subitems. Button has StringList that contains
list of subitems. That's why i need to know which group is parent to TItem,
so i can add TItem's caption to parent TGroupItem.
Every TItem controls TCustomControl which i call IconObject.
Hope i didnt missed the point again.
Again, thanx for trying to help me with this !!
Quote

Gambit