set button "Fill" property in script?
Posted: Fri Jan 15, 2016 3:39 am
I have a screen where I show the alarms, I'm filtering the alarm view in script by pressing different buttons which is working fine.
What I now want to do is to change the button appearance of the button I just pressed to give the user an indication of which type of filtering that is active.
What I want to do exactly is to change the color of it and set a gradient, you can do this manually in IX developer by using the Fill property.
I tried to set a color by using the Fill property as seen in the code below but it gives me the error
Does anyone know of a way to set the button properties the way that I want?
What I now want to do is to change the button appearance of the button I just pressed to give the user an indication of which type of filtering that is active.
What I want to do exactly is to change the color of it and set a gradient, you can do this manually in IX developer by using the Fill property.
I tried to set a color by using the Fill property as seen in the code below but it gives me the error
And this is where I get stuck, I can't find any info about this BrushCF (or I don't understand it) when using the built-in help and google turns up nothing.Cannot implicitly convert type 'int' to 'Neo.ApplicationFramework.Common.Graphics.Logic.BrushCF'
Code: Select all
TotalStopBtn.Fill = 939393;