# Dependencies Dialogue Box

This dialogue box is displayed by choosing the View | Dependencies menu item or by pressing Ctrl+D.

## Tabs

The dialogue box has two tabs: Depends Upon and Required By.

### Depends Upon Tab

If the selected snippet has dependencies (i.e. snippets it depends upon in order to compile) a tree of snippets is displayed that shows the direct and indirect dependencies. When there are no dependencies a message is displayed to that effect.

If a circular reference is detected (i.e. the snippet depends directly or indirectly upon itself) the circular reference is displayed in red and an error message is displayed. Such a dependency indicates there is an error in the database.

### Required By Tab

This tab displays a simple list of snippets that immediately depend on the selected snippet. Again, if there are no snippets to list, a message is displayed to that effect.

## Select & Close button

This button appears to the left of the Close and Help buttons. It's purpose is to select the snippets listed on the currently active tab and to display that selection when the dialogue box is closed. If the active tab lists no snippets then the button is disabled.

Warning: Any selection made using this button will replace any search results that were previously displayed. No warning will be displayed.