Results 1 to 2 of 2

Thread: can someone please add to this little code to make it....

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715
    here's the code:

    Code:
        txtLine1.Text = Left(txtLine1.Text, Len(txtLine1.Text) - 1)
        txtLine1.SelStart = Len(txtLine1.Text) & " "
        txtLine1.SetFocus
    it deletes 1 character from the right of the text box. now how do I make it delete 1 character from the right and then add a " " to the end?
    NXSupport - Your one-stop source for computer help

  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    Surely this would do it
    Code:
    txtLine1.Text = Left(txtLine1.Text, Len(txtLine1.Text) - 1) & " "
    Iain, thats with an i by the way!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width