Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveForm is not an object
Message
From
19/12/1999 00:59:38
 
 
To
18/12/1999 23:52:51
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00305647
Message ID:
00305789
Views:
23
>Hi,
> Yes, I use this command to verify the _screen.activeform either an object or not. It works fine and not cause VFP Error. However, user will not able to perform task like save, delete and.... from toolbar for the form focused at that moment. User have to terminate the program and run it again. How could I prevent this happen ? I think it is too bad to ask user re-run the application...
>

Why don't you create an application object property, and in the Activate method of the form, set the application object property to the current form's object reference? Use that to determine what the last active form was...
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
Reply
Map
View

Click here to load this message in the networking platform