Bad arguments to +

What does this mean?

Unbenannt

as the error message is trying to tell you: you are using the add operation and are trying to add the text score + 1... it only makes sense to add numeric values, for example 1 + 1
in case you are using textboxes one solution is to initialize both textboxes with 0 and set the NumericOnly property to true
or before adding 2 values check, if both are numeric
Please start a new thread for a different question next time...
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

This is what I have what do I have to do?

Here, change from score.text to scorenumber.text

this

set the value of the Score textbox in the designer to 0 rather then score...
EDIT: follow @Patryk_F's advice... you picked the wrong label or textbox...
Taifun

Like this?

Try it out. In the previous label you had the word "score", and you can't add 1 to the text "score".

12 posts were split to a new topic: I would like to add more then one bullet

please remember that this thread is about "Bad arguments to +"
fore new questions please start a new thread and don't hesitate to first do a search in the community
thank you

Taifun

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