I have a simple label control which I am using to graphically represent some water which decreases with each iteration of a while loop. I need to relocate the label after a decrease in height. Because otherwise my water looks like it is defying gravity and decreasing in a upward direction....not downward.
I tried the following:
that was the original location of the water. But it gives me an error saying that Location is not a variable. I thought of maybe adding a set function but because of the "Location.X" I dont' really know how to work that. Could someone give me a few hints?? I realize it's dumb to use the label control for graphics but it's what I've been assigned to do....don't blame it on me.Code:waterLabel.Location.X = 100; waterLabel.Location.Y = 85;
Thanks for any help.