I just tried a simple test and it works fine for me.  It deletes 5 items, 3
items, 2 items when that is the number of items with the same text.

--
Mark Miesfeld

On Thu, Jan 24, 2013 at 9:29 AM, Staffan Tylen <staffan.ty...@gmail.com>wrote:

> I'm facing an issue with the treeview find method that looks like a bug.
> Consider the following:
>
>   text = tree~itemText(hItem)
>   do forever
>      found = tree~find(text)
>      if found = 0 then leave
>      tree~delete(found)
>   end
>
> This loop always seems to delete only the first existing item, the second
> find always returns zero even when additional items exists. I can provide a
> full sample program, should that be needed.
>
> Staffan
>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to