PDA

View Full Version : Refresh Listbox



hexOffender
01-04-2007, 03:06 PM
I know this has got to be simple, but for the life of me i can not get a listbox to refresh itself after adding a new item.

I tried this with no luck...
lstBXEmployees.AddItem (txtName.Text)

ok, the item gets added, but still doesn't show in the listbox...:dunno

Bob Phillips
01-04-2007, 04:04 PM
lstBXEmployees.AddItem txtName.Text
Me.Repaint

lucas
01-04-2007, 04:12 PM
Works like it is for me......