|
-
January 14th, 2004, 04:20 PM
#1
Displaying Multidimensional Arrays in a Form
I have what should be a simple problem, but I'm not able to figure it out.
Suppose I have a 5 by 10 array. I populate the array, and now want to display this on a form.
The array is populated in a separate codefile, which passes the array to the main form file.
When I click on a button, I want to be able to see each row of the array i.e if the array is:
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 etc etc...
Clicking the button once should give me
1 2 3 4 5 6 7 8 9 10
Clicking again should give me
11 ... 20
and so on.
How do I make this happen? I have a label named "labDisp" and a button "btnShow" on the form.
Thank you.
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
|