---
title: "VerticalSlider (Aluminum)"
canonical: "https://docs.cuesystem.com/space/CVCGC/457539585/VerticalSlider%20(Aluminum)"
format: markdown
---
> Macro (toc)

---

# Description

The Sliders describes two graphic collections (AluminumSlider, and MulticolorSlider) that contain two types of graphic objects: HorizontalSlider and VerticalSlider. This section describes properties and functions.

Both objects simulate classic linear potentiometers. It allows to set and display analog values like volume, temperature, light level, etc... Both sliders have the same properties, functions, and events described in this section.

![image](media://0b165b4b-911f-4d3a-bd68-bd330a1ec64f)

### Graphics of the Vertical Sliders 

![image](media://7fb886c2-0ab8-4dd1-b41f-67af6249baa1)

# Properties

See [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419692582/VerticalSlider+Generic#Properties](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419692582/VerticalSlider+Generic#Properties) . In addition, this object uses the following properties.

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Appearance |
| SliderHeight | Byte | Any (0-255) | 31 % | Visible width of the splitter. |

# Functions

See [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419692582/VerticalSlider+Generic#Functions](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/419692582/VerticalSlider+Generic#Functions) . In addition, this object uses the following functions.

## SetSliderHeight

This function sets the SliderHeight of the object to newheight. The function returns True.

#### Syntax

```visualbasic
Function SetSliderHeight(newheight As Byte) As Boolean
```

## GetSliderHeight

This function returns SliderHeight.

#### Syntax

```visualbasic
Function GetSliderHeight() as Byte
```

# Events

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