Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Works fine for me. Are you sure you are setting the objref to null in the model form when it is destroyed?
>Create a simple form class called modalform in mytest.
>Add a property called "objref" with Assign method.
>
>Create a simple form.
>Add a command button.
>
>In the click event add the following code.
>
>oform = NEWOBJECT("modalform", "mytest" )
>oform.objref = thisform
>oform.show(1)
>
>Now run the form.
>Click the button.
>Close the modal form.
>
>Now try to close the non-modal form.
>
>If you remove the assign method. This works without a problem.
>
>The same test works fine in VFP 6.0.
>
>Can anyone please verify this bug?
>
>Troy
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