High Contrast and read-only textbox - Advanced Installer Community
dbrooks
Posts: 6
Joined: Tue Jul 16, 2013 6:48 pm

High Contrast and read-only textbox

Hello,

We are producing installer builds with dialogs that need to appear properly in Windows high-contrast modes. On the Exit dialog, we've put a read-only textbox so that the user can copy/paste something from it. The text property is set to <default text style>, but ends up being black on black in some of the high contrast modes.

Our current workaround is to make the textbox editable, but we'd really like to have it be read-only. Is there any way to make this work?

Thanks,

David Brooks
Lead Software Engineer
PreEmptive Solutions
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: High Contrast and read-only textbox

Hello David and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

Can you please tell us what theme are you using ? Also, can you please give us a step-by-step scenario or can you attach a sample which reproduce the behavior so we can investigate it?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dbrooks
Posts: 6
Joined: Tue Jul 16, 2013 6:48 pm

Re: High Contrast and read-only textbox

We are testing our installer using all four high contrast themes in Window 7 and Windows Server 2012.
[*]High Contrast #1
[*]High Contrast #2
[*]High Contrast White
[*]High Contrast Black

If I remember correctly the issue appears in all these modes except for White.

The step by step scenario would be:
1. Add a textbox to a dialog
2. Change its read-only property to true.
3. Add text to the textbox using a property or default value.
4. Run the installer while a High Contrast theme is applied.

The textbox will have a black background and black text, causing it to be unreadable.

Thanks,

David Brooks
PreEmptive Solutions
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: High Contrast and read-only textbox

Hello David,

I was asking what Advanced Installer theme you were using. The user guide reference is in the blue text link from my last post.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dbrooks
Posts: 6
Joined: Tue Jul 16, 2013 6:48 pm

Re: High Contrast and read-only textbox

Azure theme.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: High Contrast and read-only textbox

Hello,

Indeed, this seems to be an Advanced Installer issue on High Contrast Windows theme enabled. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

This is happening when the “Enhanced User Interface” option is enabled from the “Settings” tab in the “Theme” page and the application is running on a machine with High Contrast Windows enabled. So, when another theme is chosen, this option is automatically enabled and also the package type is automatically converted to an .EXE in the “Media” page.
Unfortunately, the workaround is the one that you find, not setting the "true" flag to the "Read-only" attribute of the edit box.

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: High Contrast and read-only textbox

Hello,

This was fixed in version 10.9 of Advanced Installer released on January 23, 2014.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”