---
title: "TextRotaryPicker (Basic)"
canonical: "https://docs.cuesystem.com/space/CVCGC/407732258/TextRotaryPicker%20(Basic)"
format: markdown
---
# Description

This object shows one or more texts using a spinning wheel. You just rotate the wheel until a row of values is aligned with a selection indicator to select your value.

![image](media://62f2775e-4c87-49c5-a3e7-4b589cef2b48)

# Properties

See section [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/400687134/BasicRotaryPickers+Collection#Common-Properties](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/400687134/BasicRotaryPickers+Collection#Common-Properties). In addition, this object uses the following properties.

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Behavior |
| DefaultValue | Double |  | 1 | Defines initial position after reset |
| Display |
| Texts | AddressOf Text | Any | txt0   
txt1   
txt2   
txt3   
txt4   
txt5   
txt6   
txt7   
txt8   
txt9 | Defines items of rotary picker. Every item must be on a separate line. The number of items is equal to the number of lines. |

 

> ℹ️ #### Note
> ℹ️ 
> ℹ️ Rotary picker items are defined by property texts - see the picture below.

![image](media://a47027a6-af26-400d-ac11-8791b9d85949)

# Functions

See section [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/400687134/BasicRotaryPickers+Collection#Common-Functions](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/400687134/BasicRotaryPickers+Collection#Common-Functions). In addition, this object uses the following functions.

## SetTexts

This function sets texts to newtexts. It returns True.

#### Syntax

```visualbasic
Function SetTexts(newtexts As Text) As Boolean
```

## GetTexts

This function returns current texts.

#### Syntax

```visualbasic
Function GetTexts() As AddressOf Text
```

## SetValueLine

This functions sets rotary picker to a position defined in newvalueline. Text on line number newvalueline is displayed in selection indicator. Function returns True, if newvalue <= number of lines of property Texts, otherwise it returns False.

#### Syntax

```visualbasic
Function SetValueLine(newvalueline As Double) As Boolean
```

## GetValueLine

This function returns current line number displayed in selection indicator.

#### Syntax

```visualbasic
Function GetValueLine() As Double
```

# Events

See section [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/400687134/BasicRotaryPickers+Collection#Common-Events](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/400687134/BasicRotaryPickers+Collection#Common-Events).