Hi Ted

No - I decided to leave that as an exercise for the reader" <g>.

But I could hazard a guess that "autosize label" width is the raw text width  + 
2 ?

Paul

----- Original Message -----
From: "Ted Roche" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: 29 September 2008 16:09:30 o'clock (GMT) Europe/London
Subject: Re: Calculating text width

On Mon, Sep 29, 2008 at 10:11 AM, Paul Newton <[EMAIL PROTECTED]> wrote:
>
> I don't necessarily consider one or the other to be "more correct" - but I 
> would like a way of calculating the width in such a way that the result is 
> consistent with what AutoSize yields ...
>

Have you tried a couple more tests, with different sized fonts or
different text, to determine what the difference is between the widths
of raw text and the widths of the containing label? I think you'll
find a pattern.


-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to