Results 1 to 3 of 3

Thread: [RESOLVED] [02/03] text inside a textbox

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    208

    Resolved [RESOLVED] [02/03] text inside a textbox

    Hi i have a textbox which displays the address from a database. How can i enter and display this format in the textbox (with 3 Lines) that is after 'Street' i press the enter button to make a new line.

    100 Road Street
    Perth
    WA 6000

    As at the moment i'm can only enter and display like that

    100 Road Street Perth WA 6000

    Thanks

  2. #2
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: [02/03] text inside a textbox

    Set the Multiline property of the textbox to true.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [02/03] text inside a textbox

    If you want to change the way a control behaves the first thing to do is look at what properties it has. Do that and you'll see the Multiline property pretty quickly.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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