Screen title in header screen

Screen title in header screen

I am new in zenon.
I have question related to screen navigation.
Let say, that we have two frames - one on the top, named “header” and one below the first one, named “main”. In the “header” frame, by default, a screen “HEADER” is opened.
On “HEADER” screen there is a button, which opens a menu. In the menu, there are some buttons, each of them opens a screen - which is opened in “main” frame.
I need to have a functionality to show the name of the screen opened, but name to be shown in “HEADER” screen.
One of the solutions could be, each of the buttons of the menu to call script, which got two functions. First one to switch the screen in “main” frame and the second function to change the title text in “HEADER” screen (by writing different value in a tag for example).
My question is there any other more profitable and tricky way to do this?

Thank you in advance!
Regards,
Svetozar Yolov

This is a migrated post! Originally posted on 18.06.2017 by user yolovs. Please be aware that information can be outdated.