0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

c++ builder > TEdit >パスワード入力 > PasswordCharを設定する

Last updated at Posted at 2016-01-15
動作確認
C++ Builder XE4

http://qiita.com/7of9/items/15f5e964759d874e5f96
にてパスワード入力を検討したが、標準機能としてあったようだ。

"Use the PasswordChar property to create an edit control that displays a special character in place of any entered text."

プロパティのPasswordChar*を設定すれば入力中の文字が表示されなくなった。
また、Ctrl+Cにて入力文字をコピーしようとすると「不許可 パスワード入力フィールドからは文字はコピーできません」となるのでコピーされることはない。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?