How do you change the whole list of a CheckListBox

Ok I’ve answered my own post – bad form I know.

I just used the following code:

self.lb.InsertItems(newList,0)

Now I’d like to know how to remove all members from
the CheckListBox

Thx,

Andrew

Hello,

Andrew Carswell wrote:

Ok I’ve answered my own post – bad form I know.

I just used the following code:

self.lb.InsertItems(newList,0)

Now I’d like to know how to remove all members from the CheckListBox

CheckListBox derives from ControlWithItems, so I would suggest: Clear.

···

Thx,

Andrew