VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



listview : add,remove, display into textboxes

by rhian aseniero (8 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 4th May 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

listview : add,remove, display into textboxes

Rate listview : add,remove, display into textboxes



'add
set xlist =  Listview1.ListItems.Add(, , "your txt")
   xlist.subitems(1) = "heheh"
                  '(2) for other subitems

'del highlighted list
Listview1.ListItems.Remove (Listview1.SelectedItem.Index)

'display into textbox

text1 = Listview1.SelectedItem
text2 = Listview1.ListItems.Item(Listview1.SelectedItem.Index).SubItems(1)

'gud luck

'you may use xlist or listview1




Download this snippet    Add to My Saved Code

listview : add,remove, display into textboxes Comments

No comments have been posted about listview : add,remove, display into textboxes. Why not be the first to post a comment about listview : add,remove, display into textboxes.

Post your comment

Subject:
Message:
0/1000 characters