|
-
Feb 6th, 2000, 04:11 PM
#1
Thread Starter
Member
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.
-
Feb 6th, 2000, 04:14 PM
#2
Lively Member
Try to set label's Autosize property to True and forget about calculating it's width
-
Feb 6th, 2000, 04:48 PM
#3
Thread Starter
Member
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 ?
-
Feb 6th, 2000, 07:45 PM
#4
Frenzied Member
make your other control's left value = TheLabel.left + TheLabel.Width
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|