[RESOLVED] Length of a Label
Hello there!
I am writing an application, where i have a Label. This label, resizes accoording to the UserControl, which itself resizes when the application window changes size.
In this Label, I enter some text, in a single line (that's a must).
What i have problem figuring out, is how to be able to aquire the maximum number of characters that i can put into the label, in a single line.
Now there are 2 problems with this:
1) The label does not have a fixed width.
2)The width property returns width in pixels, not characters.
Autosize would not be an option for me, since the label must be of the same width as the application window.
I'm pretty sure that there must be a hack around this, but i can't think of any at the moment.
Any ideas would be appreciated!
Thanks,
S.K
Re: [RESOLVED] Length of a Label