Hi, Sorry for not using the right terms, I'm not familiar with them and got confused translating. I'm using the navigator to move between records. What I was trying is to change a PictureBox Image every time the user moves using the navigator buttons. The path of the image is stored in db and contained in a textbox. The problem I have is that using MoveNext event, I get the value of the textbox prior to move; so I don't get the right image path. Thanks
M
Member_14809754
@Member_14809754
Posts
-
Binding Navigator Movement Event Error -
Binding Navigator Movement Event ErrorHi, I'm starting to learn coding with vb .net and I'm having and issue while moving through registers using bindingnavigator. Let me explain: I have a function (already tested and works fine) that receives an idNumber from a textbox and returns a file path. If I call that function using
Private Sub BindingNavigatorMoveNextItem\_Click(sender As Object, e As EventArgs) Handles BindingNavigatorMoveNextItem.Click changeUser(usuarioTextBox.Text) End Sub
it calls the function with the textbox data before moving to the next register, and that's not what I would like to do. Any clues to solve this? Maybe I'm using and incorrect event? Thanks in advance