[Gambas-user] parent of current item
Wally
wally at ...2037...
Tue Dec 16 21:20:37 CET 2008
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
> > Gambas-user at lists.sourceforge.net
> > 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
More information about the User
mailing list