Results 1 to 3 of 3

Thread: text box problem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    Location
    u.s.a
    Posts
    127
    I am currently using a text box in my app and I can't get it to recognize carrage retun ( chr(13) ).
    I want to place the text in the control , at the length I choose for each line.
    Is this possible??
    Thanks.
    Dan.

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177
    Do you mean you're trying to add the Chr(13) Character to the the Textbox?

    If so, try the vbCrLf constant instead, ie.
    Code:
    Dim sText As String
    sText = Text
    Text1 = Left(sText, 10) & vbCrLf & Mid(sText, 11)

  3. #3

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