Block or Mask InputBox Response

  • Thread starter Thread starter stickandrock
  • Start date Start date
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,
 
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.
 
Back
Top