Delphi InputBox for password entry?

后端 未结 5 1434
面向向阳花
面向向阳花 2021-01-04 02:08

Inputbox:

answer:=Inputbox(\'a\',\'b\',\'c\');

works good, but I\'m looking for a masked one, like a password box where you only see little

5条回答
  •  执念已碎
    2021-01-04 03:13

    InputBox calls the InputQuery function in Dialogs, which creates the form dynamically. You could always make a copy of this function and change the TEdit's PasswordChar property.

提交回复
热议问题