Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OForm.ActiveControl Error
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
OForm.ActiveControl Error
Miscellaneous
Thread ID:
00091663
Message ID:
00091663
Views:
56
In a tool bar linked to a specific form, I test for the type of the form's ActiveControl by:

if upper(&oForm..ActiveControl.BaseClass) = "WHATEVER"

However, I get an error message "Unknown member ACTIVECONTROL" if the currently selected control in the form is the Calendar ActiveX contol which is actually a sub-class I created (this my CalendarX.zip file in the Files, Classes/VCX section of the UT). How can I test if I can not use the ActiveControl property?

TIA.
Mark McCasland
Midlothian, TX USA
Next
Reply
Map
View

Click here to load this message in the networking platform