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 stars instead of the typed characters.
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');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With