I know this is not directly possible because all that can be done to a field is to set the foreground/background colors and then display the text. So I know that I'll be stuck "painting" the text somehow. The problem is that I also want to retain the built-in text features that come with using a regular Field control (tapping, selecting text, cut/copy/paste, etc.)
Does anybody know of an app that uses multi-colored text (not each letter more than 1 color, just whole letters being different colors than other whole letters) and retains field functions that is open source so I can see how they did it? Perhaps you've done this and are willing to share the pseudo/code? It seems to me that 1 way to do it is to put the regular text in the field and they draw the painted text right over the top of the field so that the drawing obscures the mono-text underneath it. Then, when the user taps the screen to do something to the text, the focus would be set to the field and it would snap back to mono-coloring as the OS drew the field text over the painted text (which would then have to be redrawn later). I suppose that would be tolerable but is there a better way? -- For God, Family and Republic! My plan to save the world: More Jesus, Less Government! http://www.PalmYanoff.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
