Hello,
1. When this custom dialog is displayed, how do I get the focus in the EditBox?
In order to achieve that you can use the
Control Tab Order Dialog. For that select your related dialog, and use the “Edit” >> “Edit in dialog” toolbar button. Just move your
EDIT_1 (the default name for an editBox) to be the first in the “Control Tab Order” list.
2. Currently, the user must type in the EditBox and then tab off the EditBox in order for the [Next] button to be enabled. Is there any way to enable the button as the user is typing in the EditBox?
Unfortunately, this is the default behavior of the Windows Installer. The "Control Conditions" are not evaluated every time you write a character in the related edit box.
However, in order to achieve what you want, you can enable our
Enhanced User Interface feature. You can enable it by going in the "Settings" tab from "Theme" page.
Also please keep in mind that your package will be automatically turned into an EXE package.
3. Currently, if the user puts spaces in the EditBox then the [Next] button is enabled. Is there any way to trim the contents of the EditBox? ie, TRIM (EDIT_1) = ""
In order to achieve that you can create, for example your custom action as
a custom action written in C# or
a custom action written in C++ which can verify if the related EditBox is not containing just white spaces ( char(32) ).
Best regards,
Dan