I have a form with a tab control with two pages (tabs) set up. I recently added a calendar control (Calendar Control 9.0) to one of the tab pages. It is initially set to Visible = false, and is set to be visible (and to pull the control value to a particular textbox) when a particular button is clicked (different buttons assign the control value to different text boxes, all of which are bound, so I can update different dates for a record (order date, ship date, delivery date, etc). This seems to work very well, with one problem – the control shows up on both pages of the form view. Normally, someone won’t move between the pages until they update the date information they clicked for (or click on the button again to close the calendar, so it is not (much of) an operational problem. In design view, however, if I select a group of controls to move on the “other tab” that isn’t supposed to have a calendar on it I usually end up selecting the calendar control as well. After making the changes I want, I have to go back to the other page and re-position the calendar. It is an annoyance, not a crisis, but I would like to know how to resolve it – and even better, how to avoid this problem in the future.
None of the other controls exhibit this behaviour – I am not sure if it is because this is an activex control, or just something I inadvertently did when I placed the control in the first place.
Thanks for any help,