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
In XE2, InputBox()
and InputQuery()
were updated to natively support masking the TEdit
input, although that feature has not been documented yet. If the first character of the APrompt
parameter is set to any value < #32
then the TEdit.PasswordChar
will be set to *
, eg:
answer := InputBox('a', #31'b', 'c');