Re: [Gambas-user] parent of current item
Brought to you by:
gambas
|
From: Wally <wa...@vo...> - 2008-12-16 20:20:54
|
On Tue December 16 2008 21:12:54 Doriano Blengino wrote: > Wally ha scritto: > > How to get the parent of the current item in treeview ? > > (the key's are populated by random numbers) > > > > regs wally > > > > ------------------------------------------------------------------------- > >----- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > > Nevada. The future of the web can't happen without you. Join us at MIX09 > > to help pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.c > >om/ _______________________________________________ > > Gambas-user mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Use TreeView.MoveParent(). > > Found this in the documentation (qt/TreeView). > > Regards, yes, this works fine ! after moveparent i use treeview1.item.key and not treeview1,current.key. the moveparent moves the internal cursor not the "current" position thx |