listbox.rowcount?

Do I need to handle the number of active/populated rows in a listbox, or is there a property that gvie this to me?

listbox.listCount is what you’re seeking.