I have an array of lines Line1(). Then i load a second array Line2(). Then i say for each member (1-300)
Line2(i) = Line1(i)
Later, when i try to reference BackColor of Line2(i), it comes out as white. I assume when i say Line2(i) = Line1(i), that i mean "Assign all properties of Line1(i) to Line2(i)". Why wouldn't the program assume that i mean that. I had to go back and change my loop to this
Line2(i) = Line1(i)
Line2(i).backcolor = Line1(i).backcolor
for the thing to work
i wouldn't complain, but this took a while to figure out! Darn. Anybody know why this happens this way???
Crystals
Line2(i) = Line1(i)
Later, when i try to reference BackColor of Line2(i), it comes out as white. I assume when i say Line2(i) = Line1(i), that i mean "Assign all properties of Line1(i) to Line2(i)". Why wouldn't the program assume that i mean that. I had to go back and change my loop to this
Line2(i) = Line1(i)
Line2(i).backcolor = Line1(i).backcolor
for the thing to work
i wouldn't complain, but this took a while to figure out! Darn. Anybody know why this happens this way???
Crystals