----- Original Message ----- 
From: "Aline & Aldric" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, February 20, 2007 7:38 PM
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 ?

It's a bug: 

http://bugzilla.ximian.com/show_bug.cgi?id=80888

Gert
_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to