Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_vfp.visible versus _screen.visible
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00114290
Message ID:
00114298
Views:
11
>I'm a little confused about when I would want to use _vfp versus _screen. Is there a difference when you're developing a single application? Thanks in advance.
>Marcus.
Marcus,

_vfp is an object reference to the Visual FoxPro object while _screen is a reference to the main window. To better explain this here's a difference that is clear. You can _VFP.Visible = .t. and you can _screen,visible = .t. they both show _screen. However, you can
_vfp.DoCmd("USE Customer")
_vfp.DoCmd("BROWSE")
and you will open the customer file and browse it. _screen doesn't have a DoCmd Method. All of this is in the help file under _VFP and _SCREEN. While looking at either ch3eck out the top of the help screen and look at the properties and methods of each. You find they are quite different.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform