Skip to Main Content
AVEVA™ Products Feedback Portal

Welcome to our new feedback site!


We created this site to hear your enhancement ideas, suggestions and feedback about AVEVA products and services. All of the feedback you share here is monitored and reviewed by the AVEVA product managers.

To start, select the product of your interest in the left column. Then take a look at the ideas in the list below and VOTE for your favorite ideas submitted by other users. POST your own idea if it hasn’t been suggested yet. Include COMMENTS and share relevant business case details that will help our product team get more information on the suggestion. Please note that your ideas will first be moderated before they are made visible to other users of this portal.

This page is for feedback for specific AVEVA solutions, excluding PI Systems and Data Hub. For links to these other feedback portals, please see the tab RESOURCES below.

Portfolio area Application Server & OMI
Products Layout Editor
Created by Himanshu Saini
Created on Oct 29, 2024

Modification of the layout background color should be done through the layout script

I have access to two distinct Galaxy Style Libraries in one galaxy and would like to call with single button: light and dark. I aim to modify the layout's background color using a layout script. Currently color changes works only for Apps but not for layout as shown below for TitleBarControl:

dim clr as System.Windows.Media.Brush;

if MyViewApp.Style.CurrentStyle == "Dark_Style" then

clr = System.Windows.Media.BrushConverter().ConvertFromString("#3DCD58");

MyContent.UOCDC_TitleBarControl1.Background = clr;

elseif MyViewApp.Style.CurrentStyle == "Light_Style" then

clr = System.Windows.Media.BrushConverter().ConvertFromString("#3DCD58");

MyContent.UOCDC_TitleBarControl1.Background = clr;

endif;

Now if I would like to change color for layout appearance background this script doesn’t works. I tried it like this

dim clr as System.Windows.Media.Brush;

if MyViewApp.Style.CurrentStyle == "Dark_Style" then

clr = System.Windows.Media.BrushConverter().ConvertFromString("#FF10181A");

Me.Background = clr;

elseif MyViewApp.Style.CurrentStyle == "Light_Style" then

clr = System.Windows.Media.BrushConverter().ConvertFromString("#C1C1C1");

Me.Background = clr;

endif;

We are considering the idea of scripting at the layout level to embed all the graphics. This approach is aimed at reducing development hours. Currently, we are scripting at the graphics level or using rectangles with specific background colors in light and dark themes. Our goal is to minimize the use of background in graphics. We aim to enable automatic background color changes from the layout itself, which is why we need the script to work at the layout level.

  • ADMIN RESPONSE
    Oct 29, 2024

    Your idea has been reviewed and may have been edited to remove any perceived sensitive information. It is now publicly visible for others to see and vote on. If you are uncomfortable with this, please contact us to reduce the visibility level.

  • Attach files