Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form persists
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Form persists
Divers
Thread ID:
00423487
Message ID:
00423487
Vues:
60
I have a form that I instantiate programmatically when the user clicks a command button and I cannot make it go away when I issue THISFORM.Release(). Why would that be?

The code to instantiate it is pretty much as follows (I have additional custom property assignments that I don't believe are relevant):

oMoverExternals=NEWOBJECT("frmparticipantsmover","osdforms")
WITH oMoverExternals
.Show()
.lstMoverSource1.SetFocus()
ENDW

I have tried it both with WindowState modal and modeless with no difference in behavior.

I have a command button on the form with "THISFORM.Release()" (no quotes) in the Click() method. Nothing happens when the Click() method is run: the form stays visible and active.

What am I missing?

TIA

Jim
Jim Wheelock
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform