Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_SCREEN.ActiveForm is not an object
Message
From
21/08/1998 12:23:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
_SCREEN.ActiveForm is not an object
Miscellaneous
Thread ID:
00128822
Message ID:
00128822
Views:
60
I've seen that before but forgot how to do it.

I want to call a method of the active form from the menu.
If the form is opened there is no problem.
How do I check any form is active to avoid an error?

I want to do something like
IF(WEXIST(_SCREEN.ActiveForm))
_SCREEN.ActiveForm.myMethod()
ENDIF

but I get is not an object error message.

Thank you.
Next
Reply
Map
View

Click here to load this message in the networking platform