Problem with a label!

  • Thread starter Thread starter Visually Seen #
  • Start date Start date
V

Visually Seen #

Hey everyone,

If you still don't know, I manually create C# windows forms using one
huge notepad file.
So, to create a label, you start with:

Label l;
l = new Label();

l.Text = "This is a label";
this.Controls.Add(l);

With longer pieces of text, the label automatically has a new line in
it. How can I make a label that displays the text in one line only?

Thanks,
Visually Seen #
 
Back
Top