ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Control Toolbox appears out of thin air (https://www.excelbanter.com/excel-programming/315591-control-toolbox-appears-out-thin-air.html)

Josh Sale

Control Toolbox appears out of thin air
 
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



Josh Sale

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




J C via OfficeKB.com

Control Toolbox appears out of thin air
 
I am experiencing the exact same problem in MS Project 2003. The Toolbox appears for no apparent reason while tabbing through options on a userform. Would love to hear a solution...

--
Message posted via http://www.officekb.com

Josh Sale

Control Toolbox appears out of thin air
 
I wish I could say that I found one ... but I haven't! Please post back to
the group if you figure it out.



"J C via OfficeKB.com" wrote in message
...
I am experiencing the exact same problem in MS Project 2003. The Toolbox
appears for no apparent reason while tabbing through options on a userform.
Would love to hear a solution...

--
Message posted via http://www.officekb.com





All times are GMT +1. The time now is 04:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com