Interesting dilemma - creating a dynamic questionaire

Hello all,

I am trying to create a dynamic questionaire that gathers all its data from a text file. The dynamic part is that there shouldn’t be any limit to the amount of questions that can be displayed.

What I am facing is two problems:

  1. Having no limit on questions, the questions must be inside of a scrollable area, such as a dynamic text field with a scrollbar.
  2. A combobox is being used to provide a series of answers to each question. The combobox would be placed at the end of each question.

I have no idea how to code this. Any suggestions on where to start?

The idea I have, but not sure if it is realistic, is to first place each question within its own text box. Once all the questions have been placed, the text boxes are added somehow to another scrollable area that contains all the text boxes. Additionally, each combobox is placed at the end of the text box (bottom-right corner + about 10 pixels spacing).

Thanks for any suggestions,
Cedwyn