Automatic toolbar clean-up

When you display a command list as a toolbar, the toolbar actually displays a visual representation of the command list. It automatically adjusts for hidden or disabled commands in the toolbar. For example, if a command is hidden by the hide command statement, it won’t appear in any toolbars that contain the command.

The runtime engine automatically adjusts for any visual issues that can result from hiding commands. For example, assume a command is surrounded by two separators. If the command is hidden, the two seperators would be next to each other in the toolbar. However, the runtime will detect this condition and display only one separator. This only affects the display. The content of the command lists remains unchanged.

 


Documentation Feedback