---
title: "MotorControlA (Multicolor)"
canonical: "https://docs.cuesystem.com/space/CVCGC/462127120/MotorControlA%20(Multicolor)"
format: markdown
---
> Macro (toc)

---

# Description

You can set BackgroundColor, Buttons: UpColor, DownColor, UpFontColor, DownFontColor.

![image](media://270a602e-efce-4414-b1b2-4646f7505013)

# Properties

> Macro (excerpt-include)



**In addition, this multicolor object uses the following properties:**

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Appearance |
| BackgroundColor | Long | Any | &H1Affffff | Color of Background. |
| UpColor | Long | Any | &H1A000000 | Color of Buttons in State Up. |
| UpFontColor | Long | Any | _COLOR_BLACK | Color of font in State Up. |
| DownColor | Long | Any | &H33000000 | Color of Buttons in State Down. |
| DownFontColor | Long | Any | _COLOR_WHITE | Color of font in State Down. |

# Functions

> Macro (excerpt-include)




**In addition, this multicolor object uses the following functions:**

## SetUpColor

This function sets a newupcolor to UpColor. Function returns True.

#### Syntax

```visualbasic
Function SetUpColor(newupcolor As Long) As Boolean
```

## GetUpColor

This function returns UpColor.

#### Syntax

```visualbasic
Function GetUpColor() As Long
```

## SetUpFontColor

This function sets a newupfontcolor to UpFontColor. Function returns True.

#### Syntax

```visualbasic
Function SetUpFontColor(newupfontcolor As Long) As Boolean
```

## GetUpFontColor

This function returns UpFontColor.

#### Syntax

```visualbasic
Function GetUpFontColor() As Long
```

## SetDownColor

This function sets a newdowncolor to DownColor. Function returns True.

#### Syntax

```visualbasic
Function SetDownColor(newdowncolor As Long) As Boolean
```

## GetDownColor

This function returns DownColor.

#### Syntax

```visualbasic
Function GetDownColor() As Long
```

## SetDownFontColor

This function sets a newdownfontcolor to DownFontColor. Function returns True.

#### Syntax

```visualbasic
Function SetDownFontColor(newdownfontcolor As Long) As Boolean
```

## GetDownFontColor

This function returns DownTextFontColor.

#### Syntax

```visualbasic
Function GetDownFontColor() As Long
```

## SetBackgroundColor

This function sets a newbackgroundcolor to BackgroundColor. Function returns True.

#### Syntax

```visualbasic
Function SetBackgroundColor(newbackgroundcolor As Long) As Boolean
```

## GetBackgroundColor

This function returns BackgroundColor.

#### Syntax

```visualbasic
Function GetBackgroundColor() As Long
```

# Events

> Macro (excerpt-include)