Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen.formcount not behaving properly
Message
De
24/07/2003 20:09:33
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
_screen.formcount not behaving properly
Divers
Thread ID:
00813350
Message ID:
00813350
Vues:
35
I have some code in my form base class which uses the instance of the form to position the form in a cascade manner relative to the previous instance.

To do this my code uses _screen.formcount to cycle-through existing forms, but there is some weird behaviour when _screen.formcount jumps from 0 to 2 when a form is launched (I suspended it in form.load() to establish this). This only happens to one particular form, and this behaviour only happens in VFP6 - in VFP7 _screen.formcount goes from 0 to 1 as expected. As I need the form to run under both versions, it easy enough to use version exception code to handle the problem, but I would like to know what is going on here. (Of course it may just be form corruption or a bug).

Anyone out there any ideas what may be going on here?

TIA
Alan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform