TabControl Right-Click when Disabled

  • Thread starter Thread starter Tony_VBACoder
  • Start date Start date
T

Tony_VBACoder

With Access 2002 SP1, is this a bug with the built-in Tab
Control that comes with Access?

If I add the Tab Control to a Form and set the Tab
Controls' Enabled property to "No" (False), how come I can
right-click on the various Tabs and have each Tab
displayed? The Tab, along with all the controls on each
page of the Tab Control stays disabled, however I don't
want this right-click behavior to occur where it switches
to each page.

Is this a bug, or is there some other setting I need to
make within the Tab or Access, to prevent the right-click
from occurring on each Tab?
 
Hi Tony.

Yes, this does look like a bug.
Access 2003 has the same problem.

As a workaround, perhaps you could set the Visible property of the tab Page
to No: it is it not there, the user cannot right-click it.
 
Back
Top