The following piece of code is run thrugh But not executed when i used on textchanged event, but it's executed when i put it under the on lostfocus event of a textbox.
Public Sub txtLocation_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtLocation.TextChanged
picEdit.Enabled = False
btnFirst.Enabled = False
btnPrevious.Enabled = False
btnNext.Enabled = False
btnLast.Enabled = False
end sub
can anyone please help me on why this isnt working, im still to vb.net
Public Sub txtLocation_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtLocation.TextChanged
picEdit.Enabled = False
btnFirst.Enabled = False
btnPrevious.Enabled = False
btnNext.Enabled = False
btnLast.Enabled = False
end sub
can anyone please help me on why this isnt working, im still to vb.net