Faceplate-like display

Faceplate-like display

Dear Sirs,
I am using zenon v7.0 SP0.
I am trying to find a way to show faceplate like picture (for an object – pump for example).
The faceplate looks like a small screen with tabs on the top. The tabs are named like: Status, Configuration, Parameters, etc. When you click on the tab, dedicated screen is opened, in the same frame. Each of dedicated screens shows different information.
I start to experiment on demo project, found on forum. On attached “Screen.PNG”, the scrUnitConfig is shown. It is open by pressing of one of the three buttons (in row – “configure units”)
I am looking a way to show scrUnitConfig_2 screen when gray button named “scrUnitConfig_2” (on bottom left ) is pressed.
I am looking for VBA solution. Is that achievable?
For positioning of the frame frmUnitConfig (which contains scrUnitConfig and scrUnitConfig_2), I use the following settings of the frame:
Positioning: “relative to element”
Reference point of the frame: top, left
Reference point of the element: top, left; horizontal movement: 0,20
The three buttons in row, which opens the scrUnitConfig, works as it is expected.
I experiment with “Screen with index” function. It is working but I found quite ugly effect.
If I press button using screen with index function (see “Screen with screen index function.PNG”), the faceplate is not opening 20 pixels on the left, but rather on top!
Next problem I found is when you press “scrUnitConfig” button on facelate. It uses “screen switch” function. The first press open the faceplate below – see “Screen with screen switch function 1.PNG”. The next press open the face plate again down below – see “Screen with screen switch function 2.PNG”.
So how is it possible to achieve this switch of a few screens in the same frame. The frame sould appears next to the object (pump, fan etc.).
Best regards,
Yolov

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