listbox arraylist design

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Another question.

I'm using a checkbox list (appname) that has fields associated
with each checkbox list appname. You click a button and I instantiate this
newform where you can choose the order of the fields. Then
I want to reinstantiate the newform with the next checkboxlist's
group of fields so that they can be ordered and then keep going for each
appname so I have a listbox that has a two dimensional array:

(1(appname1), field1)
(1(appname1), field1)
(1(appname1), field1)
(1(appname1), field1)
then appname2:
(1(appname2), field2)
(1(appname2), field2)
(1(appname2), field2)
(1(appname2), field2)

and then keep going for the next appname and its group and so on.

Can anyone see a good design for this?

Regards;

Segue
 
Looking at this unclear question I ended up getting what I wanted by
sorting the two lists by using the indexof property.

list1.Items.IndexOf(list2.Items(i))
 
Back
Top