When doing layouts on a Form...why do controls know thier location

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

By that I mean, should the layout of the Form's container tell the child
controls where to go. Not the other way around, where the child control says
its wants some position?

Why was the API setup that way?

Thanks
 
probably as a concession to data storage.

Rather than having storage in the container for each control and having to
manage changes to that storage when a control is added or remove, the
storage for the location is allocated in the control itself and gets managed
when you remove the control.
 
Back
Top