Hi
I have a form with a label on it. I want to set the text property when I click on the addnewitem icon on the tool strip. I have the following code on the click event:
However, it seems to run this before refreshing the form, so the variable never gets entered.
Does anyone know how to achieve this?
Thanks
I have a form with a label on it. I want to set the text property when I click on the addnewitem icon on the tool strip. I have the following code on the click event:
Private Sub BindingNavigatorAddNewItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorAddNewItem.Click Label1.Text = myvariable End Sub
However, it seems to run this before refreshing the form, so the variable never gets entered.
Does anyone know how to achieve this?
Thanks