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