# Favourites Dialogue Box

The user's favourite snippets can be accessed and managed from this dialogue box. It is displayed from the Snippets | Show Favourites menu option or by pressing F4.

The dialogue box is non-modal so you can continue using CodeSnip while the dialogue box is displayed. It stays on top of CodeSnip. To make it easier to see the program while the dialogue box is displayed it becomes semi-transparent when the main program window has focus and only becomes opaque when activated. The degree of transparency can be adjusted using the Transparency slider (see below).

Favourite snippets are listed in the dialogue's list view control. To the right of each snippet is the date and time it was created or last accessed. As usual snippets from the main and user database are displayed in different colours (black and blue by default).

Snippets can be sorted in alphabetic order by clicking the "Snippet" header. You can also sort by accessed date if you click the "Last used" header.

To display a snippet in the main CodeSnip window select it in the list and click the Display button or press Alt+D. Alternatively you can just double click the snippet.

By default snippets are displayed in a new tab in CodeSnip's detail pane. You can change this to display all snippets in the same tab by clearing the tick mark from the Open favourites in new tabs check box. This setting is persistent.

You can remove a snippet from favourites by selecting it and clicking the Remove button. This does not delete the snippet, just removes it from the favourites list.

All the favourites can be cleared by clicking the Clear All button. You will be asked to confirm this action.

### Adjusting the dialogue's transparency

The dialogue box's transparency when deactivated can be adjusted using the Transparency slider. The slider is adjusted with the mouse or by using the Left or Right arrow keys when the slider has focus. If you don't want to use the transparency feature, drag the slider all the way to the right.

To make it easy to decide on the required transparency the dialogue box fades down to the selected transparency when the Transparency slider is used and the transparency changes as the slider is moved. When the mouse or arrow key is released the dialogue's opacity is restored. To view the current transparency without changing it press and hold the Space key when the slider has focus.

The transparency level will be remembered the next time the dialogue box is displayed.