Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Screen.ActiveForm is not an object.
Message
From
26/04/2002 19:03:15
 
 
To
26/04/2002 11:16:14
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00649585
Message ID:
00649846
Views:
9
Can you try
if type('_screen.activeFORM.baseclass') = 'C' and ;
  _screen.activeFORM.baseclass = 'Form' and ;
  type('_screen.activeFORM.activecontrol.baseclass') = 'C'
    loControl = _screen.activeFORM.activecontrol
else
    locontrol = .null.
endif
Glenn

>Guess I had better specify that I am working with FoxPro 5.0
>
>TYPE("_Screen.ActiveObject") is returning "U" even if the active object is a form and _Screen.ActiveObject.BaseClass is not available in FoxPro 5.0.
Previous
Reply
Map
View

Click here to load this message in the networking platform