Maskedit Control Question

Got a problem you cannot solve? Try here.
hess_joel
Posts: 47
Joined: Mon Nov 21, 2005 1:52 pm
Location: Eden Prairie, MN

Maskedit Control Question

Postby hess_joel » Tue Jun 27, 2006 8:26 am

I'm trying to use a MaskEdit control in a dialog for an IP Address. I've set the mask to ###.###.###.###, now when I try to enter an IP, it's only allowing me to type one character in the field at a time.

So I enter the field, type one character, then I have to reselect the field to enter another character.

Using IA 5.31

File Attached:

PortSelection.dfm

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Tue Jun 27, 2006 11:44 am

What is the value of MaxLength? The control normally tabs out only when MaxLength has been reached.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

hess_joel
Posts: 47
Joined: Mon Nov 21, 2005 1:52 pm
Location: Eden Prairie, MN

Postby hess_joel » Tue Jun 27, 2006 12:42 pm

15

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Tue Jun 27, 2006 5:36 pm

That's very odd. Could you please also attach the .dfm.miaf file for your dialog?
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

hess_joel
Posts: 47
Joined: Mon Nov 21, 2005 1:52 pm
Location: Eden Prairie, MN

Postby hess_joel » Wed Jun 28, 2006 6:21 am

Here's the requested file

File Attached:

PortSelection.dfm.miaf

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Jun 28, 2006 6:53 pm

Thanks. I believe the problem is that the control is counting its "length" including the placeholder characters, instead of just the characters that have been actually entered by the end-user. This is causing the control to tab-out automatically, because it thinks its at 15 characters, due to the placeholder characters.

I will create an incident for this - in the meantime, I recommend you use a regular edit control (without a mask) to avoid the tabbing problem. Apologies for the inconvenience.
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 213 guests