Results 1 to 2 of 2

Thread: 2 questions text boxes

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2001
    Posts
    152

    Exclamation 2 questions text boxes

    hey everyone, i have a couple questions abuot textboxes, the first one is, how can i make my text box have more text in it than it holds. If i wanted to make a long document, i couldt be able to because it would get full, so how can i change that, and the other question is, what is the exact syntax to skip a line in a text box? i know it is VbClRf or something like that, but where do i put it? everytime i put it in it gives me an error messege, so if you could help me out i would appreciate it, thanks in advance, later

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    A textbox can hold a lot of data, but if you want to hold more, you could use a RichTextBox.

    vbCrLf is ascii characters 10 and 13, so its not a method or statement on its own. What exactly do you want to do ?
    If you want the user to goto the next line, then you just have them press the down cursor once.

    If you want to skip a line, think up of a combination of keys, and once they're pressed them, call SendKeys twice with the down button.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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