Wally ha scritto:
> How to access all items in a Treeview using
> not using movefirst, movenext etc. ?
>
> FOR EACH ...  IN Treeview ???  
> ....
> NEXT
>
> regs wally
>   
Do this:

  if not xxx.MoveFirst() then
    repeat
      xxx.item.xxx()      ' do things with the current item
    until xxx.MoveNext()
  endif

TreeView.MoveXXX() return TRUE if there were no more items to move to.

Hope this is enough for you to start.

Regards,
Doriano


------------------------------------------------------------------------------
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.com/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to