NListView Items.Clear exception


Author
Message
Brad Swearingen
Brad Swearingen
Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)
Group: Forum Members
Posts: 53, Visits: 3

I'm on build 11.12.14.12.  When using the NListView and calling the Items.Clear() method I often get this exception (in Release mode build):

Application Unhandled Exception : InvalidArgument=Value of '0' is not valid for 'index'.
   at System.Windows.Forms.ListView.GetItemRect(Int32 index, ItemBoundsPortion portion)
   at Nevron.UI.WinForm.Controls.NListView.l1lII11ll1(Message& m)
   at Nevron.UI.WinForm.Controls.NListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search