Kkula
Hello,
So my topic description might be a little vague, but what I mean is the following.
A faceplate can have any size on the HMI screens. The engineer can make it bigger or smaller. But, the contents of the faceplate actually don't scale accordingly.
So my question, can I somehow register and use the properties of the faceplate, namely the height and the width, and use those values inside my faceplate so I can dimension/scale the components inside the faceplate accordingly.
I tried using the following:
Faceplate -> Events -> Script on 'Loaded'
Tag("Height").Write(Faceplate.Properties.Height); //With "Height" being a faceplate internal tag.
Tag("Width").Write(Faceplate.Properties.Width); //With "Width" being a faceplate internal tag.
But this does not seem to work.
Anyone got any better ideas?
(As a annoying work around, off course I could make a property interface tag, but than you would have to type the actual pixels in the interface itself. If an engineer drags the faceplate a little bigger or smaller, the values aren't accurate anymore...)
Our flexible community website is a platform that allows users to connect, share information, and collaborate on various topics of interest. The website offers a range of features such as discussion forums, messaging, user profiles, event calendars, and more. Users can customize their experience by creating and joining different groups or communities based on their interests or location. The website is designed to be user-friendly and adaptable to the needs and preferences of our diverse user base. Whether you are looking to network professionally, share hobbies and interests, or simply connect with like-minded individuals, our flexible community website has something for everyone. Join us today and become a part of our thriving online community!
India
Copyright ©2025
Share this page with your family and friends.