Recent

Author Topic: Password  (Read 1790 times)

ThomasK1201

  • New Member
  • *
  • Posts: 31
Password
« on: March 20, 2015, 12:26:20 pm »
Hi guys!

I want to add a password to my mainform. I did this just by placing two edits: One for the name of the person and one for the password. But when I enter the password, it is visible. Is there a way to change it into * ?

Thomas.

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Re: Password
« Reply #1 on: March 20, 2015, 12:33:02 pm »
Look at the properties of your edit field and enter a '*' as value in the item PasswordChar. From now on when entering data in that edit filed you'll only see * characters.
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

ThomasK1201

  • New Member
  • *
  • Posts: 31
Re: Password
« Reply #2 on: March 23, 2015, 12:52:27 pm »
Thanks!

 

TinyPortal © 2005-2018