Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property Enabled_Access not found
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Property Enabled_Access not found
Miscellaneous
Thread ID:
00663903
Message ID:
00663903
Views:
48
Hi,

I'm currently experiencing some serious trouble with a container object. This container is contained in another container and contains some other controls (lines, commandbutton, etc.).

When I'm running my application in the IDE, the container gets instantiated and it's enabled property is accessed, I get the error message "Property enabled_access not found". In the debugger's watch window I can ask for THIS.Enabled and the correct value is shown. However if I'm asking for this.enabled in any kind from the command window (e.g. MessageBox(this.enabled)), I get the same error message.

When copying the class to another library, renaming it and copying it back in the orginal vcx, the class works well when it is added to _SCREEN at runtime. Then I'm deleting the original class, renaming the new copy to the old name and it crashes again (I'm doing a PACK between these two steps). It's getting stranger from test to test :(

When I'm adding the container to the screen outside of my application, it works well. If I'm adding it to the screen from the command window when the app is suspended, it crashes. I know that there must be something inside my app, or something inside the container that only shows up when the app is running, but what could it be? It's a rather complex environment, so it won't be easy to track this down. So I thought, asking if someone else has already had such a problem might be a good idea ...

Some more facts:

- The VCX seems to be ok (objcode deleted and recompiled, packed, checked the methods/properties/reserved3 columns)
- Adding an enabled_access method didn't help
- Recompile project didn't help
- Clean up project didn't help
- Removing and re-adding the VCX didn't help
- There is no class with the same name in other VCXs
- There is no second copy of the VCX in the path
- Deleted all files in the TEMP folder - didn't help

- The container has an enabled_assign method
- VFP7 SP1

Any help is appreciated.

TIA,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Next
Reply
Map
View

Click here to load this message in the networking platform