Whats wrong with this code?
When a checkbox is checked, the richtextbox1 will move to a new location in form3.
Code:If CheckBox1.Checked Then
Form3.RichTextBox1.Location = (28,08)
End If
Printable View
Whats wrong with this code?
When a checkbox is checked, the richtextbox1 will move to a new location in form3.
Code:If CheckBox1.Checked Then
Form3.RichTextBox1.Location = (28,08)
End If
The location property is expecting a point, so you need to create one :
Code:If CheckBox1.Checked Then Form3.RichTextBox1.Location = New Point(28, 08)
Thank you very much! :')