-
Once you create a control array, is there any way to remove one of them from the array?
I created an array of grids and put a ton of work into them to make them exactly right. Then I wanted to take just one for a different app, but I had to leave it as the only element in a control array. It just screamed amateur...
-
Depends if you have created the control array in designtime or runtime, and if you want to remove one item in designtime or runtime
-
Created in design time, can I remove it from the array in design time?
-
Yes, you can remove it at design time if added during design time. Just like removing any other control. If you want to return a control array back to a standard single control, remove all instances of the control except one and then delete anything in it's index property. Also, you'll have to go through the code window and set the subroutines up to work without the index arguement.