Visual Basic 2010
Get free Visual basic 2010 source codes. Learn Visual Basic 2010 using this website.
Pages
(Move to ...)
Home
About
▼
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
‹
›
Home
View web version
No comments:
Post a Comment