Lenster,
The value is put in the underlying datasource, when the events from the
control are evaluated.
So why not use those control events for this purpose, they are made for it.
This sentence bellow of you is in my opinion not true
If you click on a checkbox for example its value changes visibly and also
the value changes in the underlying data table
I made a sample for you to show you that, it is bellow you have to drag on a
newprojectform a checkbox and a button and than paste in this code.
I hope this helps?
Cor
\\\
Public mcheckitem As Boolean
Public Property checkitem() As Boolean
Get
Return mcheckitem
End Get
Set(ByVal Value As Boolean)
mcheckitem = Value
End Set
End Property
Private Sub Form1_Load(ByVa l sender As Object, _
ByVal e As System.EventArg s) Handles MyBase.Load
Me.CheckBox1.Da taBindings.Add( "Checked", Me, "checkitem" )
End Sub
Private Sub CheckBox1_Click (ByVal sender As Object, _
ByVal e As System.EventArg s) Handles CheckBox1.Click
MessageBox.Show (mcheckitem.ToS tring)
End Sub
Private Sub Button1_Click(B yVal sender As System.Object, _
ByVal e As System.EventArg s) Handles Button1.Click
MessageBox.Show (mcheckitem.ToS tring)
End Sub
///