mrvithan
asked on
How can i create a array to handle controls?
accoding to my last question(https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=10239600 ) , i want to create a array to handle controls. how i can do that, such as picturebox ontrol
Put a picture box on a form
Name it pic(0)
Now at runtime you can load more picture boxes using
Load pic(n) where n is the index in your control array
(Unload pic(n) unload picture box n)
Name it pic(0)
Now at runtime you can load more picture boxes using
Load pic(n) where n is the index in your control array
(Unload pic(n) unload picture box n)
To make a control an array, just give it an index (of 0 or whatever)
what corvinder is trying to say is
create a picturebox on your form
call it Pic
set it's index to 0
etc...
create a picturebox on your form
call it Pic
set it's index to 0
etc...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
collection control ?
ASKER