Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen.formcount not behaving properly
Message
From
24/07/2003 20:09:33
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
_screen.formcount not behaving properly
Miscellaneous
Thread ID:
00813350
Message ID:
00813350
Views:
34
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
Next
Reply
Map
View

Click here to load this message in the networking platform