0

How to keep PictureBoxes in the same location after i maximize the Form? I set the Anchor property to none but PictureBoxes still move after Form maximization.

user3309231
  • 186
  • 3
  • 20
  • Set anchors to Left|Top (which is the default anyway)! - Of course a 'fixed position' is not a well defined goal.. Do you want the absolute location to stay fixed or a relative position (e.g. centered) ?? – TaW Sep 22 '19 at 10:09
  • I want it to stay fixed – user3309231 Sep 22 '19 at 10:16
  • 1
    So set anchors to Left|Top as I just told you ! – TaW Sep 22 '19 at 10:17
  • No i means i want it relative sorry – user3309231 Sep 22 '19 at 10:23
  • Then remove the anchors. an anchor keeps the distance from control border to container border fixed. Removing all anchors makes the control float in a the relative position. If it was centered it will stay centered. If it was at 25%,25% it will stay so. This mean that it will move in absolute coordinates. – TaW Sep 22 '19 at 10:31

0 Answers0