Discussion:
Phoenix - lib.agw.ultimatelistctrl
Werner
2014-04-13 11:24:45 UTC
Permalink
Hi,

It seems ListEvent.Index property is not present, looks like none of the
properties are there.

Werner

File "d:\devTools\Phoenix\demo\agw\UltimateListCtrl.py", line 80, in
<module>
run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])
File "d:\devTools\Phoenix\demo\agw\run.py", line 160, in main
app.MainLoop()
File "c:\Python33\Lib\site-packages\wx-3.0.1-msw-phoenix\wx\core.py",
line 1878, in MainLoop
rv = wx.PyApp.MainLoop(self)
File
"c:\Python33\Lib\site-packages\wx-3.0.1-msw-phoenix\wx\lib\agw\ultimatelistctrl.py",
line 7738, in OnMouse
self.ReverseHighlight(self._current)
File
"c:\Python33\Lib\site-packages\wx-3.0.1-msw-phoenix\wx\lib\agw\ultimatelistctrl.py",
line 6261, in ReverseHighlight
self.HighlightLine(line, not self.IsHighlighted(line))
File
"c:\Python33\Lib\site-packages\wx-3.0.1-msw-phoenix\wx\lib\agw\ultimatelistctrl.py",
line 6928, in HighlightLine
self.SendNotify(line, (highlight and
[wxEVT_COMMAND_LIST_ITEM_SELECTED] or
[wxEVT_COMMAND_LIST_ITEM_DESELECTED])[0])
File
"c:\Python33\Lib\site-packages\wx-3.0.1-msw-phoenix\wx\lib\agw\ultimatelistctrl.py",
line 7328, in SendNotify
self.GetParent().GetEventHandler().ProcessEvent(le)
File "d:\devTools\Phoenix\demo\agw\UltimateVirtualDemo.py", line 87, in
OnItemSelected
self.currentItem = event.Index

builtins.AttributeError: Index
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...