Here is the way you can do it:
static void AlinearFieldDerecha(int Field)
{
FormPtr frm=FrmGetActiveForm();
FieldPtr fld;
FieldAttrType fldT;
if ((fld=(FieldPtr)
FrmGetObjectPtr(frm,FrmGetObjectIndex(frm,Field)))==NULL)
return;
FldGetAttributes(fld,&fldT);
fldT.justification=rightAlign;
FldSetAttributes(fld,&fldT);
}
"Farzin Ashraghi" <[EMAIL PROTECTED]>
Enviado por: [EMAIL PROTECTED]
21/07/00 15:34
Por favor, responda a "Palm Developer Forum"
Para: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:
Asunto: Field format
Friends:
It's not possible to assign a right align justification to an editable
field
using the Constructor. So, is there another way to do that?
Thank you for your help!
Farzin
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/