Is it possible to hide the password field in a modal dialog?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
utz
Newbie
Posts: 18
Joined: Sat Aug 11, 2007 8:33 pm

Is it possible to hide the password field in a modal dialog?

Post by utz » Sat May 09, 2009 2:28 am

Hi again,

When using input> to get user input entered into a text field in a modal dialog, the password is automatically obscured with "***"s. Is it possible to get this same effect when using a regular dialog box instead? I've tried setting INPUT_PASSWORD to 1 before calling Show> on the dialog definition but that doesn't do it.

While I'm asking, I might as well ask something else: is it possible to change the window title of a dialog created by messagemodal> from "Macro Scheduler Message"? If so, how?

Thanks again for any help.

Utz

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat May 09, 2009 2:56 am

Here is the syntax for an Edit Box in the Dialog:
Name,Left,Top,Width,Preset-Text[,PasswordChar]

So,just add the optional,desired character after the default value, like this:
Edit=msEdit1,104,8,121,Fred,*
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

utz
Newbie
Posts: 18
Joined: Sat Aug 11, 2007 8:33 pm

Post by utz » Sat May 09, 2009 7:24 am

Hi Bob,

Thanks very much! That's exactly what I needed. I missed it in the docs.

:)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts