HI

I have created a button called "start" , when the user clicks on it the buttons name changes to "reset". How can i write an if statment to say if the user clicks on the button = "reset" then do this.

if (button = to "reset" and clicked)
    {
        then do this
    }
else
    {
        do nothing
    }

Thanks for any help

hope that makes sese

I have sorted it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.