Click here to Skip to main content
14,870,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,
In my form there is a panel, which include a number of picture boxes which i use to represent a chessboard, now if i want to make this panel and all its contents to be full screen, how can i do that ,

Thanks in advance,
z3ngew
Posted

1 solution

   
Comments
z3ngew 22-Aug-13 4:37am
   
thank you, but that is not working for me,the anchor is a reference position when resizing the form, but i want to resize the panel and all of its content to full screen

z3ngew
Thomas Daniels 22-Aug-13 4:43am
   
You should set the Anchor of the panel and of each control inside the panel to "Top, Bottom, Left, Right". Then each control with Anchor "Top, Bottom, Left, Right" resizes if the form resizes.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900