I do have another style defined for x29, maybe that's an issue?
Color of function keys
Moderator: jeanmichel
-
Fairdinkum
- Posts: 128
- Joined: 24 Jul 2017, 17:02
Re: Color of function keys
Hi,
Removing the existing "x29" definition might be worth a try.
Regards,
Hide
Removing the existing "x29" definition might be worth a try.
Regards,
Hide
Re: Color of function keys
I removed the x29 definition, but still the same.
The background of div "text1b22" is not red either, so inherit will not work I guess.
Should there not be a rule for that div?
The background of div "text1b22" is not red either, so inherit will not work I guess.
Should there not be a rule for that div?
-
Fairdinkum
- Posts: 128
- Joined: 24 Jul 2017, 17:02
Re: Color of function keys
It seems "inheritance" setting is applied to the background-color. You might want to check if the container div has any background colors.
Regards,
Hide
Regards,
Hide
Re: Color of function keys
I found something:
- I removed all the customAutoGUIFkeyStyle stuff.
- On the AutoGui ruile 'Function Keys' i went into the properties and in the eXtensions style I entered
Code: Select all
var f=FIELD.get5250Attribute("id"); if (f === "X29"){ var oStyle = {"background-color":"#d99694"}; } else { oStyle = ""; } ENV.returnValue = oStyle; - Now I have the buttons in color and if I add them to a Button Panel the colors are also there