Al,

Not that this is your problem, but calling 
FldGetAttributes/FldSetAttributes is a good idea, versus directly 
hitting the fldP->attr bits. Currently there's not much difference, 
but in the future the field code may be smarter about dealing with 
programmatically changing attributes.

-- Ken

>  // set the field's text to the new text.
>
>  fieldWasEditable  = fldP->attr.editable;
>  fldP->attr.editable = true;
>
>  FldSetTextHandle( fldP, txtH );
>     if (bDrawIt)
>      FldDrawField( fldP );
>
>  fldP->attr.editable = fieldWasEditable;

Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to