[Gambas-user] Treeview data

GuruLounge - MailLists maillists at ...1367...
Sat Feb 25 11:37:17 CET 2006


Benoit, you must realize that I'm stupider in some circles than others.

In other words there are still many a programing concepts I've yet to
grasp.  How do I create my own treeview control "by inheriting the
TreeView class"?  Can you pass an example my way to play with?

Thanx much,
Jeff


On Sat, 2006-02-25 at 10:10 +0100, Benoit Minisini wrote:
> On Saturday 25 February 2006 01:54, GuruLounge - MailLists wrote:
> > I've been doing a lot of work with the treeview control and I was
> > wondering if there was a way to store additional data in the keys (other
> > than just "value" which always gets displayed in the tree).  I've been
> > attempting to conjure a way to store additional properties info for each
> > key.
> >
> > I've been considering using a collection parallel to the treeview to
> > store this info but it's not quite as convenient.
> >
> > Jeff
> 
> And why isn't it convenient? If it is just an interface problem, you can write 
> your own TreeView by inheriting the TreeView class.
> 
> Regards,
> 
-- 

     .^.
     /V\
    /( )\
    ^^-^^
Linux Advocate





More information about the User mailing list