B
Brian
Hello -
I have created a handler as follows that, when fired, will set a
boolean value to True/False:
AddHandler DirectCast(ctl, TextBox).TextChanged, AddressOf
ControlIsDirty
Private Sub ControlIsDirty(ByVal sender As System.Object, ByVal e As
System.EventArgs)
bolDirtyRecord = True
End Sub
I would like bolDirtryRecord to be set to True only when the user
changes the text in the text box. However, other changes to the text
box, such as moving to another record, are triggering this event. Is
there a way to check whether the the event was triggered by user input
in the text box?
Thanks.
Brian
I have created a handler as follows that, when fired, will set a
boolean value to True/False:
AddHandler DirectCast(ctl, TextBox).TextChanged, AddressOf
ControlIsDirty
Private Sub ControlIsDirty(ByVal sender As System.Object, ByVal e As
System.EventArgs)
bolDirtyRecord = True
End Sub
I would like bolDirtryRecord to be set to True only when the user
changes the text in the text box. However, other changes to the text
box, such as moving to another record, are triggering this event. Is
there a way to check whether the the event was triggered by user input
in the text box?
Thanks.
Brian