>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao