I'm trying to set a group id on checkboxes contained in a table, where I've
got a table that contains N-number of rows, and 4 cols.  Cols. 2-4 contain
checkboxes, that I've set up using the checkboxTableItem.
Is it possible to set a group id on the checkboxes so that the group id
matches the row?

what I've got is:

struct TableItem {
    tableItemStyles style;
    UInt16 intVal;
    MemPtr ptrVal;
};

static TableItem Items[20][4] = {
      {
            {labelTableItem, 0, (void*)(char*)"Row One information"},
            {checkboxTableItem,0,(void*)1},
            {checkboxTableItem,0,(void*)1},
            {checkboxTableItem,0,(void*)1},
    },
    {
            {labelTableItem,0,(void*)(char*)"Row item number 2"},
            {checkboxTableItem,0,(void*)2},
            {checkboxTableItem,0,(void*)2},
            {checkboxTableItem,0,(void*)2},
    },
    ...........etc.
I'm wondering if there's a way that I can get a param in there that would
handle the GROUPID attribute, so I can emulate radio-button behaviour on a
row-by-row basis?

Thanks

-Paul






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to