Results 1 to 3 of 3

Thread: Multi Line??

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2008

    Multi Line??

    How does the multi line property work in vB?

    In my form i have a space for Street Address, and am wondering which is better: to put in two or 3 separate text boxes, or to try the multi line does the multi line thing work?

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    New Amsterdam

    Re: Multi Line??

    When Multiline property is set to True textbox will recognize carriage return character and will "move" all following text to next line - same effect if you would press the Enter key.
    When working with database form's design often depends on how tables are structured - if you have 3 fields for address (address1, address2, etc) then having 3 textboxes on the form will make more sense then 1 with multiline and visa versa.

  3. #3
    Frenzied Member
    Join Date
    Oct 2003

    Re: Multi Line??

    Multiline allows you to type more than one line of text in a textbox.
    It will be read as one string and the lines are connected by vbCrLf.
    You will have to process that to get the seperate fields.
    I can foresee input problems here.

    With different textboxes you don't have to do any work to separate the fields as they are separate to begin with.

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