Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Known Issue?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00355856
Message ID:
00355862
Views:
22
My _screen.forms(1).name returned this also -- _parentclassbrowser

After a fresh launch of VFP, there is no forms(1). I also use VFP 6 SP 3.

>I couldn't find any reference to this in the MS KB, so I'm wondering if anyone else has run into it.
>
>Earlier today I ran and closed the Class Browser in VFP (6.0 SP3). A few minutes ago I was trying something out (running a form), I set a property of one of the objects on the form via _SCREEN.Forms(1).property = whatever. I'm in the habit of using the forms collection because a number of my forms use the MS Toolbar and using _SCREEN.ActiveForm references it. Anyway, I got an error that the property didn't exist. In investigating in the debugger, I found that, low and behold, the reason for the error was that there was an invisible instance of the Class Browser. It didn't show as the ActiveForm when mine was closed, and didn't show on the Window menu. It's easy enough to get rid of (_SCREEN.Forms(1).Release).
>
>Before I go running off and report this, could someone let me know if this is a known issue or if they can replicate this behavior.
>
>tia,
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform