Home All Groups Group Topic Archive Search About

EndEdit problem in bindinglist

Author
13 Apr 2006 6:51 AM
Bryan
I am calling BindingList.EndEdit during a 'TextChanged' sub for a
texbox.  In theory, the key should be pressed changing the value in the
text box, the EndEdit call should append the changes to the BindingList
datasource, and then a ListChanged event should fire from the
BindingList.  However, the bindinglist's ListChanged event is not
firing until a second key is pressed.  I can press one key and nothing
happens, but on the second key, the listchanged event fires.  What
gives?

Author
13 Apr 2006 10:50 AM
Cor Ligthert [MVP]
Bryan,

Are you sure you are talking about the BindingList.EndEdit I cannot find
that method
http://msdn2.microsoft.com/en-us/library/ms132680(VS.80).aspx

Is it not the BindingSource?

Cor


Show quoteHide quote
"Bryan" <bryanv***@gmail.com> schreef in bericht
news:1144911116.917334.113030@e56g2000cwe.googlegroups.com...
>I am calling BindingList.EndEdit during a 'TextChanged' sub for a
> texbox.  In theory, the key should be pressed changing the value in the
> text box, the EndEdit call should append the changes to the BindingList
> datasource, and then a ListChanged event should fire from the
> BindingList.  However, the bindinglist's ListChanged event is not
> firing until a second key is pressed.  I can press one key and nothing
> happens, but on the second key, the listchanged event fires.  What
> gives?
>
Author
13 Apr 2006 5:26 PM
Bryan
I'm sorry, that is what I meant.
Author
14 Apr 2006 7:05 AM
Cor Ligthert [MVP]
Bryan,

I was busy with creating a test for your problem. My problem is that I have
to go now and I am not back in 30 hours, can you set your question again in
this newsgroup, and than with the correct text.

The change that I remember your question when I am back is as much as 0,5%

Cor