Results 1 to 3 of 3

Thread: Positioning at the end of a textbox

  1. #1
    Guest
    Combo1.AddItem Text1, 0
    Combo1.Text = Combo1.List(0)
    or
    Combo1.AddItem Text1
    Combo1.Text = Combo1.List(Combo1.ListCount - 1)

  2. #2
    Guest
    If you're using a TextBox, use the VbNewLine to
    create a newline everytime something is entered.

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    I think I know what you are looking for:

    Is the textbox only one line in height?
    if so try this easy piece of code
    Code:
    Text1.SelStart = 0
    Text1.SelLength = 0
    Text1.SelText = "New Text" & vbCrLf

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