rjmccorkle
Programmer
Does anyone know if a control index with a high number uses more resources than one with a low number when there are the same number of items in the array?
I'm using VB6. I have an array of 20 text boxes. The first 10 I set the indices to 0-9 and the next 10 to 101-110. I use an If/Then to test the index; if it is less than 100 it does one thing; if greater than 100 it does something else.
Does VB set aside resources for 20 things or for 110 things?
Thanks for any help.
Bob
104122.315@compuserve.com [sig][/sig]
I'm using VB6. I have an array of 20 text boxes. The first 10 I set the indices to 0-9 and the next 10 to 101-110. I use an If/Then to test the index; if it is less than 100 it does one thing; if greater than 100 it does something else.
Does VB set aside resources for 20 things or for 110 things?
Thanks for any help.
Bob
104122.315@compuserve.com [sig][/sig]