Hello !
wxListCtrl as Single Row selection mode ?
It is possible in wx ?
Please help me, how to I do it !
And how to I unselect one item in wxListCtrl ?
Thanx for every help.
···
--
Üdv/Kind of Regards:
fowlertrainer@anonym.hu
mailto:fowlertrainer@anonym.hu
Robin
2
fowlertrainer@anonym.hu wrote:
Hello !
wxListCtrl as Single Row selection mode ?
It is possible in wx ?
Please help me, how to I do it !
Yes. Use wx.LC_SINGLE_SEL style
And how to I unselect one item in wxListCtrl ?
list.SetItemState(item, 0, wx.LIST_STATE_SELECTED)
or
list.Select(item, False)
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
fowlertrainer@anonym.hu wrote:
Hello !
wxListCtrl as Single Row selection mode ?
It is possible in wx ?
Please help me, how to I do it !
And how to I unselect one item in wxListCtrl ?
Thanx for every help.
Hi,
in my wxListCtrls's i set the Style to wxLC_SINGLE_SEL | wxLC_ICON | wxLC_REPORT
Hope this helps,
Uwe