noob qustion moveing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • radom
    New Member
    • Feb 2008
    • 37

    noob qustion moveing

    How do make a button change the x and y postion of and object such as a label , text box or an picture box.this is what I tryed

    Label1.Location = 5,6

    value of type 'Integer' cannot be converted to 'System.Drawing .Point'.
  • daniel aristidou
    Contributor
    • Aug 2007
    • 494

    #2
    Originally posted by radom
    How do make a button change the x and y postion of and object such as a label , text box or an picture box.this is what I tryed

    Label1.Location = 5,6

    value of type 'Integer' cannot be converted to 'System.Drawing .Point'.
    Um i think you are using vb08 so
    Try this
    [CODE=vb]label1.location .y = 5
    label.location. x = 6[/CODE]
    Um im not sure its location....mig ht be position.x and position.y

    Comment

    Working...