-
Copy Problem
Hi All,
I got this strange problem. I need to create a text box matrix on a form. So i created the first row first, the index increases from the left to the right, i.e., 0...n. Then i copied the whole row to make second row, then third, and so on. But the problem is in the second row, the index increases from the right to the left, i.e., m, m-1, ..., n+1. Is there something wrong when i copy and paste a bunch of controls on a form? The wired thing is sometime the index sequence is good, increasing from the left to the right and sometimes it just reverses for no reason.
-
No there is nothing wrong with copying a group of members of a control array. The index should increase from left to right as long as the original group is in left to right order.
-
It seems as the programmers at Microsoft made an error writing the code for copy and paste. That is the index order gets reversed if those indexes exists. I've just fixed manually.
-