Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable value magically restored!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00167006
Message ID:
00167014
Vues:
29
Mon,

It's probably due to the ControlSource for the textboxes still being around.

>I am using three forms that I create like this:
> DO FORM 'form1.scx' NAME frm1 LINKED
>Form1 has an ID and password text boxes to access sys. admin screen. If the correct ID and password are entered, I release the three forms and start sysAdmin with this code:
> RELEASE frm1
> RELEASE frm2
> RELEASE frm3
> DO FORM Sys_admn
>When done with SysAdmin, I go back to form1:
> DO FORM 'form1.scx' NAME frm1 LINKED
> THISFORM.RELEASE()
>The strange thing is when I am back, the user's ID and password values in form1 are filled! I thought since I released the form, its properties and variables should also be released. When I do a watch on frm1, I can see it released, but the text box values are lingering between calls. Any idea why this is happening?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform