T
TC
I'm trying to layout controls on a form, and I'm finding it very
difficult. Net offers several properties and methods designed to help
with layout, but they are poorly documented and I can't figure out how
to use them.
In order to arrange the controls the way I want them, I need to know
the size each control needs to display its text and borders. My
research suggests that the method GetPreferredSize() can tell me this.
I found this page:
http://windowsclient.net/blogs/faqs...do-controls-behave-with-getpreferredsize.aspx
However, that page doesn't explain the ProposedSize argument, which is
required by the GetPreferredSize() method. Can anyone tell me how
ProposedSize is used by the GetPreferredSize() method?
-TC
difficult. Net offers several properties and methods designed to help
with layout, but they are poorly documented and I can't figure out how
to use them.
In order to arrange the controls the way I want them, I need to know
the size each control needs to display its text and borders. My
research suggests that the method GetPreferredSize() can tell me this.
I found this page:
http://windowsclient.net/blogs/faqs...do-controls-behave-with-getpreferredsize.aspx
However, that page doesn't explain the ProposedSize argument, which is
required by the GetPreferredSize() method. Can anyone tell me how
ProposedSize is used by the GetPreferredSize() method?
-TC