We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

LordNullset
Posts: 7
Joined: Mon Nov 26, 2007 5:01 pm

using MaskedEdit control

Hello,

I have done several searches of this forum about how to use the MaskedEdit control, but nothing has been forthcoming. Therefore do I ask: how is the input mask (Text property) formatted? So far, I can only really tell that # means "decimal digit".

Also, is there a way to set up an edit box so it doesn't display the characters that are entered into it? For instance, the user could enter "switchboard", but I only want "***********" displayed. In other words, standard password box.

Edit: Nevermind about the second paragraph - I don't know how I missed that!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
I have done several searches of this forum about how to use the MaskedEdit control, but nothing has been forthcoming. Therefore do I ask: how is the input mask (Text property) formatted? So far, I can only really tell that # means "decimal digit".
Note that # stands for a digit and ? stands for a digit or a letter. You can read more about this here:
http://www.advancedinstaller.com/user-g ... -page.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
LordNullset
Posts: 7
Joined: Mon Nov 26, 2007 5:01 pm

Thanks for the quick reply! Sadly, I must be a squeaky wheel. I would also like to know how do such things as:

-allow only certain letters, such as regex-style [anpx84]
-allow multiple letters of same type (like regex [a-z]* or ([0-9][ANx]){2,5} )

I suppose I'm really just looking for a way to use regular expressions on the filter string. Yes, I'm greedy :P
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm afraid that Windows Installer does not support regular expressions.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”