---
title: "VerticalNavigationBar"
canonical: "https://docs.cuesystem.com/space/CVCGC/477298729/VerticalNavigationBar"
format: markdown
---
> Macro (toc)

---

# Description

NavigationBar is a window mainly used for navigation between different Windows. NavigationBar contains ScrollListBox. ScrollListBox shows one ore more items via spinning-wheel. By scrolling the wheel, you can reach other items in the list. VisibleLines are displayed in the bar. You can assign an icon to each item. Icons for each line are inserted by animation. Each item of animation is assigned to the item in ScrollListBox.

![image](media://6f37d7df-c8eb-425f-95a0-91db0884d25e)

# Properties

See [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/476512325/NavigationBar#Properties](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/476512325/NavigationBar#Properties) . In addition this object uses the following properties.

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Appearance |
| Glide | Long | None Left  
Right | None | Glide of NavigationBar in ShowObject() |
| Text |
| HorizontalTextAlign | Long | Left Center  
Right | Center | Horizontal align of texts |

# Functions

See [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/476512325/NavigationBar#Functions](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/476512325/NavigationBar#Functions) . In addition this object uses the following functions.

## SetGlide

This function sets a newglide to Glide. You can use constants as parameter

- GLIDE_DOWN
- GLIDE_NONE
- GLIDE_UP

Function returns True on success or False if an error occurs (i.e. parameter has wrong value).

#### Syntax

```visualbasic
Function SetGlide(newglide As Long) As Boolean
```

## GetGlide

This function returns Glide.

#### Syntax

```visualbasic
Function GetGlide() As Long
```

## SetHorizontalTextAlign

This function sets a newhorizontaltextalign to HorizontalTextAlign. You can use constants as parameter

- _TEXT_ALIGNLEFT
- _TEXT_ALIGNHCENTER
- _TEXT_ALIGNRIGHT

Function returns True on success or False if an error occurs (i.e. parameter has wrong value).

#### Syntax

```visualbasic
Function SetHorizontalTextAlign(newhorizontaltextalign As Long) As Boolean
```

## GetHorizontalTextAlign

This function returns HorizontalTextAlign.

#### Syntax

```visualbasic
Function GetHorizontalTextAlign() As Long
```

# Events

See [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/476512325/NavigationBar#Events](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/476512325/NavigationBar#Events) .