At 01:18 AM 5/31/2004, you wrote:
Hi all,

Is there any way to align the text in a particular column of a displayed
table (i.e. right justify all text in a specific column)?  I'm trying to
display a number in a column and subsequently wish for them all to be
aligned to the right side of the cell (I'm not using a numeric column type
because the numbers in the column may be larger than 16 bits).  Any help
would be appreciated.

If you're doing custom drawing, do your own right alignment; first, use FntGetTextWidth to determine the width of the text in pixels, then use WinDrawText to draw the text at the proper offset.



-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to