-
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.
-
Try to set label's Autosize property to True and forget about calculating it's width
-
That is a solution, but then there's still another problem:
I want to place another control immediately next to it. How do I know it's Left property ?
-
make your other control's left value = TheLabel.left + TheLabel.Width
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company