>Hi!
>
>What are the main differences (if any) between the _VFP and the _Screen object?
>
>Are they interchangeable?
>e.g. Is _VFP.ActiveForm the same as _Screen.ActiveFrom
>
>Any advantage of using one over the other?
>
They are not the same but they do share some of the properties (e.g. ActiveForm, Forms collection).
_Screen is a special implmentation of a Form class and _VFP is not. As such, _Screen has all the methods and properties associated with forms. You can add objects using AddObject or NewObject. _VFP has none of these capabilities.
Take a look in the VFP help for a more thorough explanation of what _VFP and _Screen contain.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao