apajovejohn
Posts: 19
Joined: Tue Dec 18, 2018 6:11 pm

Set Color of Prerequisite Picker Box

Hi,
I've built an installer based on the Orange Vivid Theme but do not want anything to be orange.

I've had good results of all other dialog entities using AI_CONTROL_VISUAL_STYLE but it doesn't apply to the PreRequisite picker (it seems).

I've attached a screenshot of the problem and a screenshot of a correct color textbox being set with AI_CONTROL_VISUAL_STYLE.

Any suggestions?

Many thanks
Attachments
CorrectColorDialog.jpg
CorrectColorDialog.jpg (70.1 KiB) Viewed 4639 times
PreRequPickerOrange.jpg
PreRequPickerOrange.jpg (63.36 KiB) Viewed 4640 times
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Set Color of Prerequisite Picker Box

Hello,

In order to achieve this, you can go to the Table Editor page --> Property table and change the value for the AI_CONTROL_VISUAL_STYLE property.
table editor.png
table editor.png (102.25 KiB) Viewed 3987 times

Or, you can add the Set installer property value event on the Init Events of the PrerequisitesDlg dialog:
init events.png
init events.png (68.45 KiB) Viewed 3987 times

I hope this is helpful!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
apajovejohn
Posts: 19
Joined: Tue Dec 18, 2018 6:11 pm

Re: Set Color of Prerequisite Picker Box

Works like a charm! Many thanks for the quick reply.
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Set Color of Prerequisite Picker Box

You're always welcome!

Glad to know that everything is now working smoothly.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”