Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>Something weird is happening when I am calling a form from another form. When called with DO FORM myFormName from a button's click event on the calling form it goes to the load event of the called form...everything cool so far, then the weirdness happens. Instead of going to init() it goes right to unload() event, closes and returns to the calling form bypassing everything. This called form does indeed load from other areas of my application, even when called from other forms, but when being called from this particular form it is not loading, just fires the load event (which has nothing in it) and then it goes to the unload event and skips init() activate() etc. and then closes. whatup? anybody have any ideas?
>>>
>>>Thanks.
>>>
>>>John.
>>
>>Just a guess, but it might be a form control whose .Init did execute properly causing the form to shut itself down and leave.
>>
>>Steve
>
>Hi Steve,
>
>I 'set step on' in the load event of the form, and the very next stop the debugger makes is at the unload event of the form which seems to have bypassed all other events. How rude!
>
>John.
SET COVERAGE to some file in the load event. See if does go right to the unload or where it might go.
Steve
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