Hi all,
I have a trivial question, but one which has been perplexing me for half an hour now. I have the requirement to create a lot of controls dynamically - basically I'm creating a gannt chart using Rectangles. I realised, quite logically, that the form to which I am writing must be in Design Mode. Hence the question is... How does one go about changing the view of an open form to design view, add some extra controls, and then move back to form view?
I have a trivial question, but one which has been perplexing me for half an hour now. I have the requirement to create a lot of controls dynamically - basically I'm creating a gannt chart using Rectangles. I realised, quite logically, that the form to which I am writing must be in Design Mode. Hence the question is... How does one go about changing the view of an open form to design view, add some extra controls, and then move back to form view?