Hi,
To Open a custom toolbox, the key-in is "customize open toolbox [toolbox name]" where [toolbox name] is the name of the custom toolbox.
What is the key-in to close a custom toolbox? (As an alternative, what would the vba code be to close a custom toolbox?)
--Thanks,--Robert
Hi Robert,
RobertArnold said:What is the key-in to close a custom toolbox?
As far as I know (and I was able to test) there is no such key-in available.
RobertArnold said:As an alternative, what would the vba code be to close a custom toolbox?
I think there is no VBA alternative, because VBA does not provide any toolbox API.
I think you can use "dmsg closedialog <dialog id>" key-in (e.g. dmsg closedialog -123456), but it's a bit hard-core way ;-)
In this Ask Inga article how to obtain dialog ID is described.
With regards,
Jan
P.S. Please, follow best practices and specify MicroStation version you use.
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Hi Jan,
Thanks for the info. Sorry about the version--Microstation V8i (SS3) and Microstation Connect (Update 11)