Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen.forms(x).release not working
Message
 
 
À
26/06/1998 20:05:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00112115
Message ID:
00112133
Vues:
25
Peter,

Once you release form[1], form[2] becomes form[1] and son on. Your index increments to 2 whch releases what was form[3]. Use just the number 1 as your index in the release instead of i.

>I am using the _screen.forms(x).release() method as a way of releasing forms, and I am having some problems. I am using DO FORM and I end up with 4 or 5 forms open and I am using this code to release the forms, to basically return to the top form:
>
>FOR x = 1 TO _screen.formcount-1 && don't release the top form
> _screen.Forms(x).release()
>ENDFOR
>
>It always leaves 2 or 3 forms open, and formcount is either 4 or 5. So it is closing some and not others. Any ideas?
df (was a 10 time MVP)

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

Click here to load this message in the networking platform