CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Posts
    5

    Blinking Cursor in TextBox

    Hi Everybody ,

    Can anyone tell me how to get rid of the blinking cursor in C# TextBox ?

    Cheers,

    Praveen.

  2. #2
    Join Date
    Jun 2003
    Posts
    17
    set the text box to not accept tabs, set to read only, change the background color to white again and then set to focus to something else (a button or some other control on your form)

    p.s. you might not need to do the read only thing and background colour change thing ...

    this seems to work for me though ...
    ta

    Steve

  3. #3
    Join Date
    Nov 2002
    Location
    Lahore, Pakistan
    Posts
    52

    Re: Blinking Cursor in TextBox

    Originally posted by praveen_sup
    Hi Everybody ,

    Can anyone tell me how to get rid of the blinking cursor in C# TextBox ?

    Cheers,

    Praveen.
    On Every Setfoucs call KillFocus to get rid of that blinking cursor

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

Featured