Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Not Releasing
Message
De
28/02/2021 12:12:08
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
28/02/2021 12:00:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678634
Message ID:
01678635
Vues:
55
>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.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform