in the following frmP is returned from frmGetActiveForm().
UInt16 numObjs = FrmGetNumberOfObjects(frmP); for (UInt16 i = 0; i < numObjs; i++) { theIndex = FrmGetObjectIndex(frmP, i); theID = FrmGetObjectId(frmP, theIndex); theType = FrmGetObjectType(frmP, theIndex); }
Shouldn't you be writing:
theID = FrmGetObjectId(frmP, i);
theIndex = FrmGetObjectIndex(frmP, theID);It looks like you've got those reversed.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
