I have this code to set the text of a field from a variable:
FieldPtr fld_ptrHc;
FormPtr frm=FrmGetActiveForm();
if (ventana==1)
{
fld_ptrHc=FrmGetObjectPtr(frm,FrmGetObjectIndex(frm,EntradaHc1Field));
FldSetTextPtr(fld_ptrHc,arrEntrada_Hc[0]);
FldDrawField(fld_ptrHc);
}
I can not retrieve the text of a variable int a field.I tried with
FldSetUsable(field,true) before FldSetTextPtr but doesn't work.
Is something missing there???
thank you.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/