I'm changing a text boxes text with this:
|
Source code
|
1
|
txtOutput.Text = "test?"
|
But when I run it comes out it displays as Text1. I have gotten rid of the default text so there is no Text1 referenced anywhere in my project.
I am also trying to auto resize the textbox with this code
|
Source code
|
1
2
3
4
5
6
7
|
Public Sub Form_Resize()
'Size txtOutput on Resize
txtOutput.Width = MainWindow.Width
txtOutput.Height = MainWindow.Height
End Sub
|
But I get a "Use class name for static methods" error.
Any help on these two questions will help me greatly.