Struggling with If/Else, multiple instances are either occuring no matter what or not happening

GH
Hello everyone,

I'm trying to make a function temperature conversion page, but for some reason in my if else statements, it's only ever performing the top script. Is there something I'm missing or have I just used the statements wrong? I tried trouble shooting with an extra else statement at the end to change the button colour, but it would always change the colour off the button, even if both the other statements were true.

Use txtM.text in your first if condition

Thank you!!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.