Windows mobile form layout question (hiding/unhiding controls)

  • Thread starter Thread starter asadikhan
  • Start date Start date
A

asadikhan

Hi,

I am developing a wireless survey application. This application could
have three sets of controls: Radio buttons or Checkboxes and a text
area.

A question could "select only one" in which case I will show the radio
buttons and a textarea for any comments.

A question could be "select all that apply" in which I will show the
checkboxes and a textarea for any comments.

And a question could be "open-ended" in which case I will show just the
textarea for comments.

Now, I know that I can of course hide the control by setting the
visible property of the checkboxes. However, for open-ended questions,
I want the text area to move up where checkboxes and radio buttons
would have been so there is no break between where the question ends,
and the text area. If I just hide the radiobuttons/checkboxes, their
place is still designated on a windows form.

How can I actually move the textarea up to take up the hidden radio
buttons and checkboxes space?

Thanks.

AIK
 
Back
Top