I have a Form and I want to add two controls: a ComboBox and a ListView. The ComboBox has to occupy the upper part, while the ListBox all the remaining space.
Like in the following picture:

What have I to do? What are the right properties to modify?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create a new form, then add you two controls – the
ComboBoxand theListBox. Now, first in the designer set theComboBoxsDockproperty toTop. Then select theListBoxand set itsDockproperty toFill. This will do what you require.I hope this helps.