AdvancedHMI Software
General Category => Support Questions => Topic started by: zach_a_ary on January 13, 2024, 12:22:42 AM
-
hello Archie, in a previous topic named "Display Position By Integer Value" you mentioned adding this property "PLCAddressLeft". I added this property to a basic indicator and it worked. Is there a property for vertical position? I tried "PLCAddressUp" and "PLCAddressDown" just to see if it would work and it did not.
-
The reason PLCAddressLeft worked is because of an AdvancedHMI feature known as Auto Properties. The software will look for properties with the name PLCAddress*. It will strip the PLCAddress off those properties then use what's left to see if a property exists by that name. If so, it will use the value from the PLC to push into that property.
The BasicIndicator has a property named Top that will set its distance from the top of the form (or container that it exists in). If you modify the BasicIndicator by adding :
Public Property PLCAddressTop as string
AdvancedHMI's Auto Property feature will link the PLC value from the tag/register to the property Top.
-
awesome, that worked, thanks Archie