Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Showing and hiding toolbars in AutoCAD 2014

2 REPLIES 2
Reply
Message 1 of 3
Luigi71
273 Views, 2 Replies

Showing and hiding toolbars in AutoCAD 2014

Hello all,

 

I'm trying to writing some routines to control the visibility of my own toolbars.

 

Dim cs As CustomizationSection = New CustomizationSection(my_CuiFile, my_CuiName)
Dim tb As Autodesk.AutoCAD.Customization.Toolbar = cs.MenuGroup.Toolbars.FindToolbarWithName(my_ToolbarName)
tb.ToolbarVisible = ToolbarVisible.hide

 

After the last instruction the toolbar still stay visible.

 

Some suggestions are very appreciated.

 

Thankyou

 

Luigi

2 REPLIES 2
Message 2 of 3
rkmcswain
in reply to: Luigi71

You might also try posting this in one of the customization forums.

 

R.K. McSwain     | CADpanacea | on twitter
Message 3 of 3
Luigi71
in reply to: rkmcswain

OK, just posted in .NET section.

Thankyou

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost