Hello!
I am using the straightforward code to position my shapes:
and so on
It happens that the shape duplicates at every Loop, when I just wanted it to move. After the first Loop I have 8 shapes, after the 2nd 16 shapes, 24 after the 3rd ...
But all this happens ONLY when Formdgv.dgv1(x, y) is different from 0.
I'm completing a 10 rows datagriedview up from the bottom: the first Loop I fill the 10th row, the second Loop the 9th equals the former 10th, and so on.
Any hints?
Thank you so much.
I am using the straightforward code to position my shapes:
VB.NET:
Form1.OvalShape1.Top = Formdgv.dgv1(x, y).Value * 4000 + 200
and so on
It happens that the shape duplicates at every Loop, when I just wanted it to move. After the first Loop I have 8 shapes, after the 2nd 16 shapes, 24 after the 3rd ...
But all this happens ONLY when Formdgv.dgv1(x, y) is different from 0.
I'm completing a 10 rows datagriedview up from the bottom: the first Loop I fill the 10th row, the second Loop the 9th equals the former 10th, and so on.
Any hints?
Thank you so much.