vb.net - How do you change the location of an object with the code? -


i tried code follows, said must set or assess value, don't know how do.

something.location.x(something.location.x - 100 * w) 

can please help?

explanation

we in 2 short statements. use top , left property of object. top 1 tell distance top , left tell distance left.

code & example

private sub entercodehere ()    something.top = 20    something.left = 100 'or 100*w (assuming w variable) according code. end sub 

i hope works perfectly!


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -