Why can't I use "else if"?

Check my comment in your other post

I created a test project with only a button and a label and this is the code

When I click the button I get this
image

Works fine and as expected and has no bug or error.

1 Like