| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Toolbars | NO | NO | NO | All |
This command closes either the top, bottom, left, or right docking area. The docking area is specified using one of the docking area constants: kDockingAreaTop, kDockingAreaBottom, kDockingAreaLeft, or kDockingAreaRight.
When you close a library, Omnis does not automatically close any docking areas that are open. You must explicitly hide each docking area using Hide docking area. Leaving docking areas open and closing the library containing those docking areas can cause problems in your application.
Show docking area# install toolbar on left docking area
Install toolbartbMyToolbar
# when the library closes, hide the docking areaHide docking area
# alternatively you can use the following notation
Do$root.$prefs.$dockingareas.$assign()