On Mon, Dec 13, 1999 at 12:35:44PM -0500, John Ehresman wrote:
> Is there any method or attribute that will return the # of rows of data in
> a CList (and CTree by extension)?
For a clist I just keep track of the last row I appended:
for row in rows:
last = clist.append(row)
Also, if you don't know how may rows you have you can wrap row access in a
try/except block:
i = 0
while 1:
try:
text = clist.get_text(i, col)
# do something with text
i = i + 1
except:
break
I would like to have an accessor method for this, though.
Dave Cook
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]