How about changing
attr.justification = rightAlign;
to
attr.justification = leftAlign;
if you want it left justified?
Orasanu Iuliana wrote:
I tried this:
AppInfo Info;
field = FrmGetObjectPtr(form, FrmGetObjectIndex(form, MainListaTable));
FldGetAttributes (field, &attr);
attr.justification = rightAlign;
FldSetAttributes (field, &attr);
numRows = TblGetNumberOfRows(table);
for (i = 0; i < numRows; i++) {
TblSetItemPtr(table, i, 1,Info->Strings[fieldIndex]);
}
Info in this case is a structure typedef struct {
char Strings[10][10];
}AplInfo;
still the same problem.. Thanx, Iulia.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
