Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application.ActiveForm not available
Message
 
 
To
08/04/2002 08:56:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00642128
Message ID:
00642150
Views:
14
>In a certain function, I am relying on property Application.ActiveForm. It used to work, but "suddenly" (may have been weeks ago, I don't know) it stopped working - the debugger tells me, can't evaluate expression Application.ActiveForm. _vfp.ActiveForm doesn't work either. And yes, a form is indeed open at that moment. What can be the reason for VFP not being able to process Application.ActiveForm? And is there any similar property, safer to use?
>
>TIA, Hilmar.

You can try _Screen.ActiveForm.

Did you by chance add an ActiveX control to the form? FYI, ActiveForm could be a reference to it and not the form.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform