Jump to content

Remove a value from textbox

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Francist

Francist

    Newbie

  • Members
  • PipPip
  • 26 posts
Hi

I need to remove a part of a textbox ListViewItem:{VALUEHERE} but keep the value inside. I've played about with the line PCNameTextbox.Text.Remove though I have no idea how to use it. Has anyone use it before?

Thanks
Francis.

#2
xXAlphaXx

xXAlphaXx

    Learning Programmer

  • Members
  • PipPipPip
  • 85 posts
So your trying to reset the text within your text box after adding the item to your list box?

You could just do

Me.ListBox.Items.Add(Me.Textbox.Text)
Me.Textbox.Text = Nothing





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users