On Jul 26, 2006, at 11:19 AM, Norman Palardy wrote:
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
Do you have any example code, or pointers, or somewhere to start? So
far, everything I've tried crashes the debug application.
Thanks,
Andrew Keller
_______________________________________________
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>