Hi, Alex,
Try using the DESTROY() event in the form for the cleanup code.
Michael Reynolds
>Hello,
>
>I have been writing an automatic FPD to VFP convertor. It places the cleanup code in QueryUnload. It also replaces automatically any CLEAR READs with _SCREEN.ActiveForm.Release(). However, I have now found that if you call Release() in a form its QueryUnload does not get run.
>
>So, where is the best place to put the cleanup code? Since in FPD it was called while the form still existed it doesn't seem like the wrapper program is the place.
>
>Thank you for your help.
>
>Alex
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