4-Participant
June 10, 2024
Solved
Mathcad Prime 10 - Textbox Script
- June 10, 2024
- 1 reply
- 2006 views
Hello,
I am trying to utilize the new advanced controls textbox functionality by changing the background color of the textbox based on the input condition.
The input condition would be a defined variable called "Ratio" and whether or not it is above or below 1.
The textbox would be assigned to the variable "Check", if Ratio is above 1 than check would read "No Good" with a red background, If Ratio is above 1 than check would read "OK" with a green background.
I have been searching through previous posts and had some help but am getting stuck with what appears to be passing in input variable "Ratio". I keep getting the following error.

I have put the file I am working on below for reference.


