Block or Mask InputBox Response

S

stickandrock

Is there a way to block or mask a response to a inputbox.... much like a
password entry where * is displayed for each character.... even if I could
block the display of the response that would be fine.....

Thanks,
 
S

Stuart McCall

stickandrock said:
Is there a way to block or mask a response to a inputbox.... much like a
password entry where * is displayed for each character.... even if I could
block the display of the response that would be fine.....

Thanks,

Can't be done with inputbox AFAIK, but you can easily roll your own. Just
make a form containing a textbox and two command buttons. Set the textbox's
InputMask property to:

Password

Open the form using a WindowMode of acDialog and use your favourite method
of returning a value to the calling code. Job done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top