I've run across a problem and have been unable to find a solution after several hours of searching. Here's the problem:
- I have an Access 97 database form with the standard MS Access 97 Tab Control. On one of the pages of the tab control, I have the mscal.ocx ActiveX calendar control. I need to change the Enable property of the calendar control during run-time. Whenever I set the Enable property to True, the Access form displays the calendar control regardless of the currently displayed page of the tab control. For example, let's say that the calendar control is on the 2nd page of the tab control. If I'm currently viewing the 1st page of the tab control and then set the Enable property of the calendar control to True, I can see the calendar control (even though it is not on the page I'm currently viewing!!).
I've tested this problem with 2 other ActiveX objects and get exactly the same results. Actually the Visible property also generates the same display problem.