Listview Items

zorzos

New member
Joined
Aug 10, 2004
Messages
4
Programming Experience
1-3
I have a listview called "lstmembers2" and a column named "Logos"!
When i select an item of the listview, a form appears where i have to fill a textbox. How do i pass the Textbox.text value from this form to the specific column of the selected item of the parent form?????
 
halu..i have this something for you..
i hope it helps.
in the listview doubleclick event
VB.NET:
 'instantiate the form you want to show.
 dim f as new form1
 f.t = listview1.selecteditem(0).subitems(1).text<---- it gets the second column value of the listview selected.
 listview1.selecteditem(0).subitems(1).text = f.t
 f.showdialog()
in the form1
VB.NET:
 'make a public declarations to handle the value from the listview selected item
 public t as string
 textbox1.text=t
 'if your making some changes from textbox and appear it to the listview...
 t=textbox1.text
 
Back
Top