Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 578
  • Last Modified:

Resize listview according to form size

Hello,
I am trying to resize my two listview equally while I resize the form.. but only the bottom one is being re-sized. I am using an anchor on all sides..
for example from this form
to thisform2
0
XK8ER
Asked:
XK8ER
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
You're not going to be able to pull that off just by using Anchor. Instead add a SplitContainer to your form, switch its orientation to vertical and add your two listviews (one to each panel). You can then anchor the SplitContainer to all four sides of the form and have it scale correctly.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now