When I define an underlined field and enter text in it, the underlines only
appear under each new character as it is entered.

In contrast, the built in apps show a complete line of underlines before any
text entry takes place.

Am I doing something wrong or is there some trick I am missing?

Here is my code:

  FldSetTextHandle(getObject(formP, SOUND_FIELD), soundH); //getObject: does
FrmGettObjectPtr
  FldSetSelection(getObject(formP, SOUND_FIELD), 0, StrLen(soundStr));
  FrmSetFocus(formP, FrmGetObjectIndex(formP, SOUND_FIELD));// Set the
insertion point blinking in field

Here is my .rcp file entry (PilRC/gcc)

 FIELD ID SOUND_FIELD AT (80 PREVTOP 90 10) MAXCHARS 12 UNDERLINED FONT 1
USABLE


Many thanks for your help
Robert Crago
Revelation Computing Pty Limited
PO Box 459, ASPLEY
Brisbane, Australia 4034


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to