Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. showing password ******

showing password ******

Scheduled Pinned Locked Moved C#
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    naghoumeh14
    wrote on last edited by
    #1

    i want when a user write a text in a text box then the letters will appear like that ******* i mean just like when you write your password in a password texbox

    A OriginalGriffO 2 Replies Last reply
    0
    • N naghoumeh14

      i want when a user write a text in a text box then the letters will appear like that ******* i mean just like when you write your password in a password texbox

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      Set the property PasswordChar of a textBox. TextBox1.PasswordChar = "*";

      Me, I'm dishonest. And a dishonest man you can always trust to be dishonest.
      Honestly. It's the honest ones you want to watch out for...

      1 Reply Last reply
      0
      • N naghoumeh14

        i want when a user write a text in a text box then the letters will appear like that ******* i mean just like when you write your password in a password texbox

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        As Abhinav says, use TextBox.PasswordChar, or you can just set TextBox.UseSystemPasswordChar = true[^] to use the system "blob" character. [edit]Corrected spelling of Abhinav - sorry![/edit]

        If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

        modified on Monday, February 15, 2010 10:00 AM

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        A 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          As Abhinav says, use TextBox.PasswordChar, or you can just set TextBox.UseSystemPasswordChar = true[^] to use the system "blob" character. [edit]Corrected spelling of Abhinav - sorry![/edit]

          If Barbie is so popular, why do you have to buy her friends? Eagles may soar, but weasels don't get sucked into jet engines. If at first you don't succeed, destroy all evidence that you tried.

          modified on Monday, February 15, 2010 10:00 AM

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          OriginalGriff wrote:

          [edit]Corrected spelling of Abhinav - sorry![/edit]

          Thanks. :)

          Me, I'm dishonest. And a dishonest man you can always trust to be dishonest.
          Honestly. It's the honest ones you want to watch out for...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups