Does anybody know how you can find out what width a label must have to view the caption of the label on 1 single line.

The caption is filled in in runtime, and I need to know to which value I must set the width property.

I can't set it to a high value, because I want to place another control immediately next to it.