In the Sizer tutorial, a listctrl is used to hold the fields for the flexgrid. The editor for this control supplies arrow buttons to allow re-ordering of the items but they produce and error message;
7:56:14 AM: Traceback (most recent call last):
7:56:14 AM: File "C:\Users\Ian-17\PycharmProjects\boa-constructor\Views\CollectionEdit.py", line 222, in OnUpClick
newIdx = self.collEditView.companion.moveItem(self.selected, -1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7:56:14 AM: File "C:\Users\Ian-17\PycharmProjects\boa-constructor\Companions\ListCompanions.py", line 160, in moveItem
text = li.GetText()
^^^^^^^^^^
7:56:14 AM: AttributeError: 'NoneType' object has no attribute 'GetText'
In the Sizer tutorial, a listctrl is used to hold the fields for the flexgrid. The editor for this control supplies arrow buttons to allow re-ordering of the items but they produce and error message; 7:56:14 AM: Traceback (most recent call last):
7:56:14 AM: File "C:\Users\Ian-17\PycharmProjects\boa-constructor\Views\CollectionEdit.py", line 222, in OnUpClick newIdx = self.collEditView.companion.moveItem(self.selected, -1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7:56:14 AM: File "C:\Users\Ian-17\PycharmProjects\boa-constructor\Companions\ListCompanions.py", line 160, in moveItem text = li.GetText() ^^^^^^^^^^
7:56:14 AM: AttributeError: 'NoneType' object has no attribute 'GetText'