I have an array of controls in Visual Basic. Lets say 10 Shapes. If all 10 Shapes are loaded at startup, and a RANDOM shape becomes unloaded, how do I know that the Index is free?
i.e. Shapes 1 - 10 get loaded.
Shapes 2,7,4 and 9 get unloaded.
When the user clicks a button, how can I get a shape to load with index 2,4,7 or 9? (Going beyond 10 is not an option).
Is something like:
for each shape in myShape
debug.print myShape(shape).Index
Next shape
Would that work? And if not, what would?
Cheers!
-Dark
