DamianInRochester
Lifetime Supporting Member
Panelview Plus
I wrote a program for an OEM machine that I orinally did with all distance and velocity parameters in English.
New customer wants all units to be Metric.
Since this is a machine that constantly reproduced, I would like to make it so that I can easily just change units via a button press on some setup screen somewhere.
I used all Numeric inputs with a text field to the right or left describing what the parameter is and what it's range is.
Ideally, It would be nice if I could just have the text boxes enumerated such that when the units change its switches from one set of fixed text strings to another. I don't as yet see a way to do this.
Right now the only thing I see to do is embed variables inside the text fields and create tags for all the ranges such that the units change text and all the range numbers are modified accordingly.
Does anyone have a more clever or efficient method of handling this?
I wrote a program for an OEM machine that I orinally did with all distance and velocity parameters in English.
New customer wants all units to be Metric.
Since this is a machine that constantly reproduced, I would like to make it so that I can easily just change units via a button press on some setup screen somewhere.
I used all Numeric inputs with a text field to the right or left describing what the parameter is and what it's range is.
Ideally, It would be nice if I could just have the text boxes enumerated such that when the units change its switches from one set of fixed text strings to another. I don't as yet see a way to do this.
Right now the only thing I see to do is embed variables inside the text fields and create tags for all the ranges such that the units change text and all the range numbers are modified accordingly.
Does anyone have a more clever or efficient method of handling this?