Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to call up Property Sheet programatically
Message
From
16/05/2000 14:17:45
 
 
To
16/05/2000 10:57:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00369944
Message ID:
00370047
Views:
27
>While debugging, can you call up the property sheet and/or some form of object inspector other than through the watch and locals window?
>

You should be able to explore the current state of the object through the locals window. It will not show up as a property sheet - there will be an entry for the object reference in the locals window that can be expanded to explore the components of the object.

If it's a Form and no explicit form reference exists, you may have trouble exploring things directly without a little help. You can create a memvar to serve as an object reference to the _SCREEN object early in code that will contain a reference to the _Screen.Forms collection. In the main line of your application, add the following lines of code:

PRIVATE oScreenRef
oScreenRef = _SCREEN

this duplicates the object handle for the _SCREEN object; it's visible in the locals window, and can be used to explore the Forms collection directly.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform