Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Not Releasing
Message
De
28/02/2021 12:32:20
 
 
À
28/02/2021 12:12:08
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678634
Message ID:
01678636
Vues:
53
Thanks.. First and foremost, i am always looking for "better practices" to pick up from others. Never claim to have all the techniques and best practices, so I humbly appreciate your input as far as the side note, sincerely.

Yes, both are model. I will continue to tinker with it to include not utilizing the thisform.release then thisform.callingform.show(). There's no other reference to the form though.

I reckon I am stumped because i have done it on other forms in the past and those work fine...maybe i will work around and leave teh login form up and just put the other form on top of it ...

>Howdy all,
>
>I have registration form being called from my login form us Do form register with thisform. Once the registration form has bbeen filled and all validations have bbbeen ran the user record is created, the last commend is thisform.release. Then i issue a thisform.callingform.show (callingform is a method i created that captures the last form nameetc). But the register form isn't being released, what actually happens is that the registration form stays on the screen as well as the login form then appears.
>
>I want the registration form to go away once the record is alidated and completed. I even tried putting the release in teh query unload...still...
>
>both forms are model.

So you say your code is like
thisform.release
thisform.callingform.show
Is callingform modal? then both are visibnle
Is somebody storing a reference to THISFORM or one of it's PEM? (PEM of some object, variable, even a circle in the form might do this) This would stop the form from release too
You need to parse your code and check for something setting up this.
Normaly you might single-step starting with DO FORM through your code, to see where the reference is created.
Also try to reduce the calls to minimum for debug, add step by step and see where it stops working

Side mark
The order of commands is odd. It's bad practice to call something after this. release in this way.
Thanks in Advance.

J. Turner
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform