Hi,
I have this crazy situation:
on a Windows Form, an object myObject is bound to myObjectDataBindingSource like this:
myObjectDataBindingSource .DatSource = myObject
on the form, i have a check box bound to the property: chkProp1 for example of the object: myObjectDataBindingSource
In the code when the checkbox is clicked, I need to go in code and change another text property of the object txtProper2 for example like this:
Private Sub chkProp1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkProp1.CheckedChanged
myObject.txtProper2 = newValue
End sub
The problem is that the event chkProp1_CheckedChanged ends up runing multiple times.
It seems like if I am not allowed to change a second property while a bound property is runing its change event or something like that
Have you ever got some thing similar ? am I supposed to do anything before changing a second property of an object while the change-event of a first property is being executed ?
Thanks




Reply With Quote