views:

21

answers:

1

Well it looks something like this _http://i29.tinypic.com/ib9oiu.jpg I had already posted a question on how to put an arraylist inside a listbox but that's already solved.

http://picasaweb.google.se/109674614304504038591/Desktop?feat=directlink

There is all my code, so I need to be able to edit the selected customer, clicking on customer>change from the Main GUI. Then the CustomerFrame GUI should open, and all the texboxes should show the information that is in the listbox. There I need to be able to edit the customer and save it again.

I know this is the Code to display the item selected from ListBox in a TextBox

Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
TextBox1.Text = ListBox1.SelectedItem

End Sub

but that's not all I need to do, the index of the listbox is divided into all the items of the arraylist. There is the complicated part. How to divide each item of the arraylist into individual textboxes?

A: 

Solved the problem =)

http://img69.imageshack.us/img69/592/answerh.jpg

adding this did the trick =D

HansEJC