Re: Program for "Questions"
First, you need to decide how are you going to store your questions. Will it be a database, or a XML file, or a plain text file, or a spreadsheet?
Depending on this you will need to have something that reads the test questions, iterates through them, displaying each question, the necessary number of radio buttons and then some code for displaying the results and saving the user input.
So, how are you going to store the quesitons?
Re: Program for "Questions"
i have wirted up to show the results on .txt file or other file
Re: Program for "Questions"
His question was no about showing the results, but where are you storing the questions?
Re: Program for "Questions"
Re: Program for "Questions"
You could use panels for that. Place on every panel that questions you want. Use the "Document Outline panel" to sort them. When a user has finished answering the questions they can go to the next panel.
Quote:
i have wirted up to show the results on .txt file or other file
??? Don't know what that means, but you can export the answers after everything has been filled. How you want to do it, is up to you obviously.
Re: Program for "Questions"
i need help about that i have maded the questions already by labels
and the awnsers with radiobuttons
and when they fill the awnsers to show them the results
Re: Program for "Questions"
I did that with a wizard-style program that ran the user through eight or nine screens worth of configuration options... I had one window but several panels, each panel containing the controls for one option set.
So you could do the same here... Keep track of which panel you're on, and when the user answers a question you hide the current panel and show the next one. Internally, you could probably store the responses in a simple array... question 1 had answer A, question 2 had answer C, and so forth.
As to displaying the answers... depends on what you're looking for. Do you want the program to just display the answers once, or store the answers in human-readable format for later use?
Either way, you need to iterate through the question array, display the questions, display the selected answer, and set the font color at that time.
I hope that helped.
Re: Program for "Questions"
what is that wizzard that you talk about ?
Re: Program for "Questions"
The one I referred to was one that helped design configuration options to be used in another program. If you're asking what a "wizard" is, I suggest you look here:
http://www.bitzipper.com/faq_wizard.html