Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Listbox items text and text boxes?
#4
As Snake_eyes suggested (Thanks!), this code should definitely work. The error may be appearing due to the fact that a valid item is not actually being selected. You can try to make sure an item is being selected by checking first, like so:
[code2=vbnet]If Not (kryptonListBox1.SelectedItem Is Nothing) Then
textBoxX1.Text = kryptonListBox1.SelectedItem.ToString
End If[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Listbox items text and text boxes? - by Derek275 - 11-20-2012, 06:05 PM
Re: Listbox items text and text boxes? - by brandonio21_phpbb3_import2 - 11-21-2012, 12:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Text to Speech Vinwarez 2 10,832 03-13-2012, 10:56 PM
Last Post: Vinwarez
  Files in a listbox Hurricane 4 17,933 02-27-2012, 03:32 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)