Page 1 of 1

PostPosted: Thu Oct 02, 2003 11:17 am
by Mikael
Sadly I couldn't get it to work in the way you suggested Joe. Don't know if it's due to the fact that I using text() instead of puts()-
It works fine with puts(). I found another way by combining text(), substr() and GETTSTR(), which is a little tricky, but works OK.

Thanks,

Mikael

PostPosted: Thu Oct 02, 2003 12:44 pm
by jstadolnik
The text() function does not handle new line characters. More precisely the PalmOS text drawing functions don't handle new line characters.

Check out the PToolboxLib's textbox() function. It should do exactly what you want (and perhaps a bit more:)).

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm