General information
Category:
Forms & Form designer
Title:
_screen.formcount not behaving properly
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only