On Jul 26, 2006, at 8:21 AM, [EMAIL PROTECTED] wrote:

Is there a cross-platform method of determining how long a StaticText control should be given the text inside?

You should be able to use a picture, set the text font and height to the same as the static text, then check the textWidth for your text

You'll need to add a bit to give it a bit of a margin though
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to