Visual Basic 2010
Get free Visual basic 2010 source codes. Learn Visual Basic 2010 using this website.
Pages
Home
About
Total Pageviews
Add This
My Links
Click Here For More FREE Visual Basic 2010 Tutorials
Friday, April 29, 2011
Select Newly Added Item in Listbox
Create a form like on the picture bellow:
In to the selected button write the code bellow:
Dim selecteditem As Integer = ListBox1.Items.Add(TextBox1.Text)
ListBox1.SetSelected(selecteditem, True)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment