I have a Perspective screen with several buttons with constant text field like 1,2 etc. (which display part details when clicked) and also a custom prop associated with each button to change border width when I click a button which runs a script bound to the custom prop. However, it doesn't really change the width when I switch between buttons. Not sure what's going on here. Attaching some pics here. I have inherited this project and know just basics on Ignition. PLease help.
Not sure why that isn't working, but I wouldn't use a script for this kind of thing. I would bind an Expression directly on the style properties themselves. Something like:
Try with a unit: "1px", "5px" for example.
Also, as Ryan said, use a binding.
In fact, whenever you find yourself thinking "I know, I'll use a value change script !", you should first try with a binding.