difference between wxListBox and wxListCtrl

Greetings to list,

I want to use lists to read a series of variables, and further to choose some variables to put in another list and put it back to the original list, for example, to choose some variables to do regression.

Could some one tell me between wxListBox and wxListCtrl, which is easier to handle? Or could you give me some sample code to be refered?

Thanks.
Carolyn

In my opinion, wxListBox is MUCH easier to work with, but it's also much
less powerful. wxListBox is easier to put data into and extract data
from, especially the list of selected items. wxListCtrl requires more
steps to get data into it and out of it, but it allows things like
multiple columns, tons of formatting, etc. I just had to change one of
my components from a wxListBox to a wxListCtrl because I needed a
right-click on the list to select the item clicked, and there was no way
to do it with a wxListBox that I could figure out.

David

From: Carolyn Guo [mailto:c_guo@hotmail.com]
Sent: Thursday, October 07, 2004 6:57 PM
To: wxPython-users@lists.wxwidgets.org
Subject: [wxPython-users] difference between wxListBox and wxListCtrl

Greetings to list,

I want to use lists to read a series of variables, and further to

choose

some variables to put in another list and put it back to the original
list,
for example, to choose some variables to do regression.

Could some one tell me between wxListBox and wxListCtrl, which is

easier

to
handle? Or could you give me some sample code to be refered?

Thanks.
Carolyn

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:

wxPython-users-help@lists.wxwidgets.org

ยทยทยท

-----Original Message-----