I have a series of label objects on my form that I am writing new labels to. The first four work fine, then on the fifth FrmCopyLabel instruction, the POSE shows a dialog box stating I have read from Memory Manager Data Structure storage. Here is an sample of the code:
money = GetPlayerBankInfo(0); StrIToA(newLabel,money); FrmCopyLabel(frmP,P0Label,newLabel); FrmShowObject(frmP, FrmGetObjectIndex(frmP, P0Label)); money = GetPlayerBankInfo(1); StrIToA(newLabel,money); FrmCopyLabel(frmP,P1Label,newLabel); FrmShowObject(frmP, FrmGetObjectIndex(frmP, P1Label)); money = GetPlayerBankInfo(2); StrIToA(newLabel,money); FrmCopyLabel(frmP,P2Label,newLabel); FrmShowObject(frmP, FrmGetObjectIndex(frmP, P2Label)); money = GetPlayerBankInfo(3); StrIToA(newLabel,money); FrmCopyLabel(frmP,P3Label,newLabel); FrmShowObject(frmP, FrmGetObjectIndex(frmP, P3Label)); money = GetPlayerBankInfo(4); StrIToA(newLabel,money); FrmCopyLabel(frmP,P4Label,newLabel); FrmShowObject(frmP, FrmGetObjectIndex(frmP, P4Label)); Thanks, Mark -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
