How to change the the color of navi button?

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
interelec
Posts:27
Joined: Wed May 27, 2015 7:52 am

How to change the the color of navi button?

Post by interelec »

When the current screen is displayed, I want to indicate the different button color of the screen.

but when I click the screen change button, the button don't change the color in this screen.

I found the toggle function about the screen button, but this button doesn't turn off when the screen changed.
In general, I can change the button color when I insert the button in the DP element.

But I don't know how to change the color of navi button.
How to change the the color of navi button?

I attached the screen with TEMPLATE 1.

Image
Attachments
screen.png

rglock
Posts:19
Joined: Wed Sep 08, 2010 9:54 am

Re: How to change the the color of navi button?

Post by rglock »

Hello,

the affected panel reference is panels/objects/STD_PANELS/PT_sumq.pnl, where you can change the button color (shape "cmdPanelOn").

best regards
Rainer Glocknitzer

interelec
Posts:27
Joined: Wed May 27, 2015 7:52 am

Re: How to change the the color of navi button?

Post by interelec »

Thank you for your answer.

But I know this button where it is.

I mean, I always change the button color include DPE.

Maybe, you give me an advice about using the button name "cmdPanelOn".
But I don't know change navi button color without DPE.


How to change the the color of navi button only change screen?
please give me some advice about script.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to change the the color of navi button?

Post by leoknipp »

If the color of the buttons shall match the currently opened panel you can make a connect on the _Ui_.RootPanelOrigOn.* elements.
Everytime when a root panel is opened these elements are set. If the filename/panelname matches the criteria for a specific button you can set the color of the button.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1