You want to use a MaskedEdit control instead.

wix.sourceforge.net/manual-wix3/wix_xsd_control.htm
http://msdn.microsoft.com/en-us/library/aa369797(VS.85).aspx

Sascha


On Wed, Apr 21, 2010 at 6:29 AM, Vishwajit Walke
<vishwajit.wa...@matrikon.com> wrote:
> Hi,
>
> I've a text box in my custom dialog and I just need  a small validation on it 
> and that is I want to restrict it 5 Integers only. Basically I'm entering a 
> Port Number through this field. Any Thoughts ?
>
> Here is my control syntax :
> <Control Id="PortNumberEditField" Type="Edit" X="150" Y="140" Width="150" 
> Height="15" Text="\0" Property="MY_PROPERTY" TabSkip="no" 
> ToolTip="!(loc.SharePointPortHelp)" />
>
> Thanks. Vishwajit
>
> ________________________________
> READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure.
>
> Internet messages may be corrupted, incomplete, misdirected or may
> incorrectly identify the sender. Therefore, nothing in this message or
> attachments may be considered legally binding.
>
> THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL
> OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED.
>
> If you are not the intended recipient or their authorized agent, you
> may not forward or copy this information and must delete or destroy all
> copies of this message and attachments received.
>
> If you have received this communication in error, please notify
> Matrikon Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com.
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to