Control Toolbox appears out of thin air
Upon closer reflection, I see that its really the Forms Toolbar that's
popping up and not the Control Toolbox. I still have no idea why its
happening.
"Josh Sale" <jsale@tril dot cod wrote in message
...
I have an Excel add-in that has a number of forms. One of the forms
contains a tab control and one of the tabs contains a frame that includes:
a checkbox, a couple of comboboxes and an option control.
If the user unchecks the checkbox my code disables (.Enable = False) the
comboboxes and option control.
If after unchecking the box the user then clicks in the disabled combobox,
Excel's Controls Toolbox dialog/toolbar (the floating toolbar you use to
place textboxes, labels, etc onto a form but not the dialog/toolbar you
use to place controls onto a worksheet) pops up! Once this dialog/toolbar
is there its not like you can do anything with it (e.g., you can't drag a
textbox onto the form being displayed).
This only happens under Excel 2000 and later. It doesn't occur under
Excel 97.
My code doesn't do this on purpose ... I wouldn't know how.
Any suggestions on how to eliminate this behavior?
TIA,
josh
|