Information générale
Catégorie:
Codage, syntaxe et commandes
The form C is linked to a property in form A and is not going out of scope since form A is still active.
The problem is coming from form B WindowType property: if it's marked as Modal, form C won't appear after form B is closed. If it's marked as Modeless, form C will appear.
Even stranger, if I trace the program with the debugger, everything work fine (even with form B WindowType = Modal). But outside of the debugger, it won't work.
Is this a VFP bug (or feature :) )?
TIA
>It sounds like you have the scope of form C tied to a memvar that only has scope of the method in FormA that creates it, so it's destructing right after it's created.
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