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
Maskedit Control Question
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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.
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 213 guests