Hacker News new | ask | show | jobs
by ok123456 586 days ago
Windows Forms didn't use absolute positioning for everything. You could anchor things relatively to other controls or components. You would test how things behave when you maximize and resize windows, similar to how Devtools tests reactive designs now.

If it were a very simple window or dialog that always showed the same amount of information, you would disable maximize, resize, and position it absolutely. This allowed you to add "reactivity" incrementally instead of forcing everything to be reactive up front.

1 comments

> You could anchor things relatively to other controls or components.

I don’t believe this was a feature that came out of the box in VB6. There is Control.Anchor in WinForms that is post VB6.