On Wed, 2011-06-15 at 20:25 +0200, tobias wrote: > DIM i AS Integer > > i = 0 > WHILE i < ListBox1.Count > 'is it selected? > IF ListBox1[i].Selected THEN > 'remove and... > ListBox1.Remove(i) > DEC i > ENDIF > INC i > WEND > > or did i still not get what you wanted? >
yes it works fine, thanks, it is quite good trick! -- Regards, Demosthenes Koptsis. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
