How to make a quiz in Delphi? -


i have make quiz in school, have problem changing questions , answers user clicks on button sends them next question. tried using case change questions click button, doesn't seem work. don't know how start program. have: label - changes next question when user clicks on button. radiogroup - holds answers questions, needs change too. button - when user clicks on button, radiogroup , label changes. should write make sure questions changes when users clicks on button? thanks.

the structure of code inside onclick() may this:

  // (1) save response selected   ...   // (2) increment counter   inc(actualquestion);   //..   // (3) next question/responses   getquestion(actualquestion); 

(1) , (3) depend on how have stored questions , answers.

you can database, file on disk, array in memory...


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -