> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mono- > [EMAIL PROTECTED] On Behalf Of Aline & Aldric > Sent: dinsdag 20 februari 2007 19:38 > To: [email protected] > Subject: [Mono-winforms-list] ListView LabelEdit > > Hi, > > I think there's a problem somewhere : > I have a listview and i code the event "AfterlabelEdit". > But the labelediteventargs (e) doesn't seem to return good values : the > "item" property always return -1. > > Her is a sample of my code : > private void LV_AfterLabelEdit(object sender, LabelEditEventArgs e) > { > MessageBox.Show(e.Item.ToString() + " " + > LV.Items.Count.ToString() ); > } > > The messagebox always display "-1 x" > > Is it a bug or an error in my code ?
Can you try again with Mono SVN ? Gert _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
