I want to draw labels from String List to the table object.  My table has
two columns, one for labels and one for values.  The problem I am having is
in the 4th argument in TblSetItemPtr().  I need help to convert it to a
VoidPtr data type.

Below are some of the scripts to initialize the labels:

char strLabel[16];
Word row = 0;
/* I have 5 labels */
for (; fieldIndex <= 4; fieldIndex++)
{
        TblSetItemStyle (table, row, 0, labelTableItem);
        TblSetItemPtr (table, row, editLabelColumn,
SysStringByIndex(EditFacilityInfoLabel, fieldIndex, strLabel, 15));
        row ++;
}



Elizabeth Chang
ISSI Consulting Group
[EMAIL PROTECTED]


Reply via email to