opensubscriber
   Find in this group all groups
 
Unknown more information…

p : protein-forum@news.palmos.com 21 December 2007 • 2:06PM -0500

Fatal Alert regarding removing labels
by mandarmanoli

REPLY TO AUTHOR
 
REPLY TO GROUP




Hello everybody,
    i want to remove all the dynamic labels which i am using to display question text. After anwering that question i am removing this dynamic memory but if there labels are more than 3 then it gives fatal exception. Code is as follows :
    while(gUI8_Lable_Count > 0)// Release Memory For Dynamic labels
    {
      gUI16_oIndex=FrmGetObjectIndex(pForm,(Label_Start_ID+gUI8_Lable_Count)); gUI8_Lable_Count--;
FrmRemoveObject((void *)ppForm,gUI16_oIndex);
    }
This code is used for every dynamic controls memory releasing but gives only when Edit/Text Field is there. Can anybody help for this isue
---To unsubscribe send an email to leave-protein-forum@news...
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.