Author: mterpstra | Posted on: 3/31/2009 1:06:25 AM | Views : 251


I am attepting to move a label programatically using vb code and was expecting something simple like a left/top property or an x-position/y-position but am unable to figure out how to do this.
I am expecting something simple like this:Public Sub move_label(ByVal x As Int16, ByVal y As Int16)

label1.top = x
label1.left = y

End Sub
However my label does not have "top" of "left" property attributed to it.

I get the following error:

Error 1 'top' is not a member of 'System.Web.UI.WebControls.Label'. D:\example\example.aspx.vb 540 13 D:\example\


Can anyone provide some assistance?

...

Go to the complete details ...