Thanks I classified an arry as textbox but sitll have an error with TextBoxN now. It wants it to be a variable and not a control.
HEre is the complete coding.
Code:
Public Class Form1
Dim TextBoxArray(17) As TextBox
Private Sub TextBox28_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox28.TextChanged
End Sub
Private Sub RadioButton1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton1.CheckedChanged
TextBox28.Text = "Addition"
End Sub
Private Sub RadioButton2_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton2.CheckedChanged
TextBox28.Text = "Subtraction"
End Sub
Private Sub RadioButton3_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton3.CheckedChanged
TextBox28.Text = "Multiplication"
End Sub
Private Sub RadioButton4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadioButton4.CheckedChanged
TextBox28.Text = "Identity"
End Sub
Public Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Public Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles InputMatrix.Click
Dim N As Integer = 0
TextBoxArray(N) = TextBoxN
TextBoxArray(N + 1) = TextboxN + 1
End Sub
End Class
Bookmarks