Hey all,
I am adding some LinkedLabels to my Form at runtime.
If I am adding a text to it:
and next I want to set the width Object to exactly the length of the text, how would I do that?Code:LinkLabel myLabel = new LinkLabel();
myLabel.Text=fileName;
does not work, since text.length only returns the number of Characters contained in that string.Code:myLabel.Width = myLabel.Text.Length;
Any help is appreciated,
Thanks,
Stephan
