I am currently writing a program where it gets to a point where it has to ask a question. I have created a group box which pops up, asking the question and giving a yes/no choice. the onclick event of the "yes" button sets a bool to true and the onclick of button "no" event sets the bool to false. The bool is set to false be default
The problem I have is that the program skips straight past the option of the bool being true as it doesnt give the user a chance to click a button. Is there a way that I can tell delphi to wait till either the yes or no button is pressed. Even a function that is already built into delphi 2005 would do the job, but it would need to have only yes/no buttons to respond.