将TextEdit设置为密码框

属性--Properties--UseSystemPasswordChar设置为true

原文地址:https://www.cnblogs.com/guxia/p/7538196.html