Is it possible to have the System.Windows.Forms Text property to equal the text in a certain textbox?
For example:
Is it possible to have "Name" automatically change to "The Vanguard Group, Inc."? And every other time when the Institution Name is different?
Maybe something like:
Me.Text = InstitutionNameTextBox.Text
Yes, just handle Control.TextChanged
event, like this:
Private Sub InstitutionNameTextBox_TextChanged(sender As Object, e As EventArgs) Handles InstitutionNameTextBox.TextChanged
Me.Text = InstitutionNameTextBox.Text
End Sub
Of course this doesn't prevent Me.Text
being set from elsewhere, in which case you may have a different value.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments