Need Numerical Input Editor

Got a problem you cannot solve? Try here.
Post Reply
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Need Numerical Input Editor

Post by mikKummerfeld »

Hey Guys,

i need to write a number/port (1024-65535) from a dialog into an ini file. You have only a simple text input box.
The Users should not input other charakters then 0123456789...how can I do it?

and one other thing...ur up/down object max property is only working till 327xx not more.

Thanks
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Need Numerical Input Editor

Post by giaviv »

Hi,

I am attaching a sample project with one dialog that only enables you to input a valid port number.
Good luck!!
Attachments
PortInput.zip
(4.22 KiB) Downloaded 356 times
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: Need Numerical Input Editor

Post by mikKummerfeld »

Thanks thats a start.

But how can I validate while input...so that this input box allows only numbers ???

I think you need a numerical input editor
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: Need Numerical Input Editor

Post by mikKummerfeld »

Maybe you can add a new object in the next version.

An input box only for numbers...Would be great

That would be a reason to upgrade
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Need Numerical Input Editor

Post by giaviv »

Hi,

You can actually use the MaskEdit control under the Additional tab.
Please refer to this thread for more information:
http://www.installaware.com/forum/viewt ... ab470d431c
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply