I took VB 2 years ago in school, and of course the year after i take it they upgrade to .net.. Anyways, I was wondering why this code works vs the other.


loginText.Left = 12
loginText.Top = 47
loginText.Width = 33
loginText.Height = 13

that works, and that's how i learned to do it. But i was messing around in the .net one and i was wondering why something like this wouldnt work

loginText.Location.X = 12
loginText.Location.Y = 47
loginText.Size.Width = 33
loginText.Size.Height = 13