From: Phil E. <ph...@li...> - 2007-11-15 09:26:13
|
Tony Cappellini wrote: > I've printed a list of filenames in a textarea widget. > > I want to see how many filenames are in the widget. > > When I call GetNumberOfLines() or getNumberOfLines(), they both return 1. > > Is there a way to query the widget to actually get the number of items printed ? > If you're using a textarea to store a list, wouldn't it be simpler to just use a list widget instead? Then just make a call to len(self.components.listName.items) to find out how many are in there. -- Regards Phil Edwards Brighton, UK |