Object Variables Return "(Object)" in Debug Window

ID: Q131408

3.00 WINDOWS kbprg

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, version 3.0

SUMMARY

In the debug window, an entry may have the value of "(Object)."

MORE INFORMATION

An entry in the debug window will have a value of "(Object)" if it refers to an object, not a property of an object. For example, if you enter the following in the debug window, the value will be (Object), because it references the Form object not a property of that form:

 _SCREEN.ACTIVEFORM

On the other hand, if you place _SCREEN.ACTIVEFORM.NAME in the debug window, the value will be the name of the form.

Run a form and place _SCREEN.ACTIVEFORM and _SCREEN.ACTIVEFORM.NAME in the debug window to see the difference.

For more information about debugging forms, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q129425
   TITLE     : Form Debugging Tips

Additional reference words: 3.00 VFoxWin KBCategory: kbprg KBSubcategory: FxprgClassoop
Keywords          : FxprgClassoop 
Version           : 3.00
Platform          : WINDOWS


Last Reviewed: August 14, 1997
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.