Tac1t
Posts: 8
Joined: Thu Mar 19, 2020 10:37 am

Change color of edit box

I'm trying to change background color and borders color of editbox using that way: viewtopic.php?t=22869.
It is working for all controls inside MSI package.
I am using multilingual package and I've got language dialog with combobox in it. And this combobox still has its color(black, because I am using surface theme). In other themes this combobox has different colors, so there is some way how to change it. How can I do it?
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Change color of edit box

Hello,

In order to achieve that, please go to "Dialogs" page --> "Pre-install UI" --> "LanguageDlg" --> "Init Events" --> "New Event":

Event: Set installer property value
Property: AI_CONTROL_VISUAL_STYLE
Argument: <your_value>


Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”