2/14/2025 7:14 AM | |
Joined: 1/21/2013 Last visit: 8/29/2025 Posts: 4087 Rating:
|
Hi Mosselaar, You are correct, a faceplate type is created in a fixed size as configured. The faceplate container that holds the faceplate can be resized to a different size. However, there is a property called "Adaption" (accessed in ES via "Format > Size - Fit"). This allows you to choose whether you want the faceplate container to fit the faceplate size ("Fit window to screen") or the faceplate to fit the container ("Fit screen to window"). Kind regards |
This contribution was helpful to
1 thankful Users |
2/14/2025 12:30 PM | |
Joined: 5/3/2021 Last visit: 7/9/2025 Posts: 57 Rating:
|
Thank you. I found that setting now. However, I do still want to use the dimensions (in pixel) of the FaceplateContainer inside the faceplate itself... My plan is to make a load bar, similar to the bar how it was in the Comfort panels. You know the one with more than one background color, indicating warning and alarm limits. That feature is completely gone now in Unified... I wrote a post about this in another forum thread: Segmented bar graph mode - 278596 - Industry Support Siemens But for that to work, I really need the actual pixelsize of the FaceplateContainer... |
Yes to all |
|
2/15/2025 5:15 PM | |
Joined: 1/21/2013 Last visit: 8/29/2025 Posts: 4087 Rating:
|
Hi Mosselaar, When a script is run on a hierarchy of faceplate types, such as in the faceplates OnLoaded event, FaceplateType.Parent references the faceplate container. For example, in the OnLoaded event of the faceplate type, item.Parent.Height accesses the height of the faceplate container. Kind regards |
Follow us on