Failed_Noob
Failed_Noob

Reputation: 1357

how to make a program wait until a button is clicked

How to make a program wait until a button is clicked by the user.

I want to stop my sequence of codes (statements) until a button is clicked by the user.

how can I go this ?

Upvotes: 0

Views: 4063

Answers (1)

Jeffrey L Whitledge
Jeffrey L Whitledge

Reputation: 59543

Whatever it is that you want to happen after the button is clicked, just put that code in the handler for the button-click event. To get to that handler, double click on the button in the designer.

Upvotes: 2

Related Questions