Information générale
Catégorie:
The Mere Mortals Framework
>Tom,
>
>>The application I am working on has three forms based on cBizObjModalForm. Two of them no longer work correctly. They each have an exit button the executes thisform.release(). Now the objects of the form are released, but not the form itself. If it is useful information, the modal form that still works correctly is called from another form, while the the other two are directly called form the menu.>
>
>It sounds as if you have a "dangling" object reference in these forms. In the Mere Mortals Developer's Guide, check out the topic "Application Forms Not Releasing" in the section "Handling Application Run-time Errors".
>
>Regards,
Kevin,
I am still inclined, respecfully of course, to blame CBMM. The screens work just fine using CBMM 3.01. On one screen I have a timer. Issuing a thisform.CTimer1.Release() before the thisform.Release() does the job. I am willing to concede, as soon as finish typing, that I should read the sections of the new manual dealing with the new Timer object. However the second screen is a bit unusual. I do a CreateObject and then AddObjects in the Init event of the form. I now have to manually Release() each of those objects.
Your thoughts would be appreciated.
Your chronically complainly, but loyal, user,
Tom
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement