Peter Epstein wrote:
>FntCharsWidth takes as input the current font. 
>You should switch to the font you plan to use 
>for drawing the characters before measuring 
>the characters. Perhaps that is your problem? 

Actually, what it turned out to be was the invisible pixel between columns
that is apparently put into the table by default by the Constructor. If you
make a table 150 pixels wide and specify 3 columns of 50 pixels each, the
last column will actually be a couple of pixels short of displayable space.
I truly was not aware of this. Since I didn't need the inter-column spacing,
I added calls to TblSetColumnSpacing with zero spacing and my truncation
problem went away.

  Doug Gordon



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

Reply via email to