Results 1 to 2 of 2

Thread: [RESOLVED][2005] Textbox problem

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2007
    Posts
    520

    Cool [RESOLVED][2005] Textbox problem

    heya all

    i have got a mulit line textbox on my form that has got a lot of text in it. i have locked it out so that the user cant change anything in it.
    however when i run the program all the text in the textbox gets highlighted.

    Does anyone know how to change this so the text isnt highlighted?
    Last edited by frosty16; Mar 26th, 2007 at 06:03 PM.

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

    Re: [2005] Textbox problem

    Set the TextBox's SelectionStart property to zero in the form's Load event handler.
    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