|
-
Jan 6th, 2007, 09:00 PM
#1
[2005] AddRange with multiple indices?
I have an array of controls Con(x,y,z), I generate a new set of sub-controls SubCon(y,z). There are "x" SubCon's.
Is there a way in which I can do
Con(0,y,z).Controls.AddRange(SubCon(y,z))
So that Con(0,0,0) becomes SubCon(0,0), Con(0,0,1) becomes SubCon(0,1) etc.
At present, I have done this with some FOR/TO loops and added the controls one at a time, but this is tediously slow. (The x, y and z are actually year, month and day in practice, so using three indices would be preferred).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|