Because pending on the string size a label will be resized to fit it inside
and then a form will be resized to fit the label (and reorder other
controls). The problem is that call the MeasureString() only when the form
is Painted (OnPaint) so the form and it's contents can be seen while
resizing....
Is there a way to reorder and resize the form before it is shown?
Peter.
"Christopher Kimbell" <a@b.c> wrote in message
news:40********@news.broadpark.no...
Hi,
Why do you want another way? The size of a string is only applicable when
drawing.
Chris
"pnp" <pnp.at.softlab.ece.ntua.gr> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... Hi all,
Is there a way to get a strings' width without using the
Graphics.MeasureString() Method?
Thanks in advance,
Peter.