move a label and listview location and size

How can I change the location and size of a listview and a label in my code?

I tried label3.location(100,100) does not work.

Thanks, Chad
chadmanvbAsked:
Who is Participating?
 
käµfm³d 👽Connect With a Mentor Commented:
I believe the syntax is:
label3.Location = New Point(100, 100)

Open in new window

0
 
SawinerCommented:
try this:

label3.Location = new Point(100,100);

Location is a property, and when you want to set it you need to use the "=" sign.
0
 
Reza RadCommented:
label3..Location = new System.Drawing.Point(54, 101);
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Reza RadCommented:
Label3..Location = new System.Drawing.Point(54, 101)
0
 
chadmanvbAuthor Commented:
Worked great!  Thanks
0
 
käµfm³d 👽Commented:
NP. Glad to help :)
0
All Courses

From novice to tech pro — start learning today.