Hello
I try to implement a custom data load procedure for column in a table
with 7 rows of textTableItem. But the emulator gives me an error message
for every row in the column 'non-word-aligned-handle', so i eliminated every
row in the code to find the problem, but it won't work.
My call looks like that:
TblSetLoadDataProcedure (table, attribColumn, drawAttrib);
and the remaining procedure:
static Err debitorDrawAttrib(void *table, Int16 row, Int16 column, Boolean editable,
MemHandle *dataH, Int16 *dataOffset, Int16 *dataSize, FieldPtr fld)
{
//if(column==1)
{
//*dataH =(MemHandle*) &la;//hmmmm, das k�nnte ins Auge gehen????
//*dataOffset = 0;
//*dataSize = MemHandleSize(*dataH);
}
//FldSetMaxChars(fld, 255);
return 0;
}
I hope somebody can tell me where I make any mistakes!
thx
Christian Lindemeier
__________________________________________________________________________
Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter,
Adressverifizierung, digitale Unterschrift: http://freemail.web.de
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/