Drawing directly to the screen will work, but there are some caveats. First
of all, you should handle the frmUpdateEvent and redraw the text. Otherwise,
if memory is low, a dialog that opens on top of the text may cause the text
to be wiped out when the dialog closes. Second, you'll need to wrap the text
yourself if it's more than one line long. And lastly, the position of the
text on the form isn't at all obvious when looking at the form resource.
It's always best to use resources to specify the position and extent of
objects on your forms. This allows a localized version to use a different
position, for example.
Of course, you could read the position to draw the characters out of a
resource. The obvious choice would be a gadget. Personally, I'd only use a
gadget if a label or field didn't fit the bill. When would that be? Well, if
you want to mix different fonts, or if you want to mix text and graphics.
For example, the Address View form uses a gadget in order to mix different
fonts.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/