'newline' on button question

Postby Mikael on Sun Oct 12, 2003 11:39 am

I have a couple of large buttons with some text contained in each which I have wrapped. The problem is if I press a button and then slide and release(as if I'm changing my mind about the selection) the button expands and the wrapping disappears; displaying boxes between the words? Is there something I can do to remedy this?

Sorry I forgot to say 'Thanks in advance' in my last post. So:

Thanks in advance x2,

Posts: 156
Joined: Sun Apr 13, 2003 9:19 am
Location: Denmark

Postby jstadolnik on Sun Oct 12, 2003 1:51 pm

This smells like a PalmOS bug. The last I knew multi-line button texts were not supported by the OS (but I may be mistaken).

Can you post some source code which shows this behavior?

Is the button size changing when you call SetText()?


The PToolboxLib guy.
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Return to PocketC for Palm OS KB

Who is online

Users browsing this forum: No registered users and 1 guest