|
-
Jun 14th, 2009, 09:22 AM
#1
Thread Starter
Addicted Member
change RTB.location when checkbox.checked
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
Last edited by Eldrup; Jun 14th, 2009 at 09:35 AM.
Reason: Spell..
Eldrup
-
Jun 14th, 2009, 09:36 AM
#2
Re: change RTB.location when checkbox.checked
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)
-
Jun 14th, 2009, 12:57 PM
#3
Thread Starter
Addicted Member
Re: change RTB.location when checkbox.checked
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|