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

---

# Description

This object is used to indicate that a time-consuming operation is in progress but it is unknown how long it may take. The indicator spins while the task is in progressing and disappears when the task is complete. The object uses standard functions ShowObject for start and HideObject for stop. In Multicolor MarqueeProgressIndicator you can change the color and opacity of the background color. In addition, you can specify the text, font and font color that may appear underneath the indicator. Indicator size changes in steps depending on the size of the object.

![image](media://0e83f990-7b34-48c4-add0-9afa7a650e00)

# Properties

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

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Appearance |
| ObjectSize | Long | 0 = Drag&Fit  
1 = 78x78  
2 = 200x200 | Drag&Fit | Specifies size of the object. If Drag&Fit is selected it picks biggest size which fits into object boundary. |
| BackgroundColor | Long | Any | Grey-Dark | Color of Background. |
| Text | AddressOf Text | Any | Nothing | Text that appears below the indicator. |
| Font | AddressOf _Font | Any | IndicatorFont | Text font. |
| TextColor | Long | Any | _COLOR_WHITE | Color of Text |

# Functions

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

## SetBackgroundColor

This function set BackgroundColor to newbackgroundcolor. Function returns True.

#### Syntax

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

## GetBackgroundColor

This function returns current BackgroundColor.

#### Syntax

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

## SetTextColor

This function set TextColor bellow the indicator to newtextcolor. Function returns True.

#### Syntax

```visualbasic
Function SetTextColor(newtextcolor as long) As Boolean
```

## GetTextColor

This function returns current TextColor.

#### Syntax

```visualbasic
Function GetTextColor() As Long
```

## SetText

This function set Text bellow the indicator to newtext. Function returns True.

#### Syntax

```visualbasic
Function SetText(newtext As Text) As Boolean
```

## GetText

This function returns current Text bellow the indicator.

#### Syntax

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

## SetObjectSize

This function set ObjectSize to newobjectsize. Function returns True.

#### Syntax

```visualbasic
SetObjectSize(newobjectsize as Long) As Boolean
```

## GetObjectSize

This function returns current ObjectSize.

#### Syntax

```visualbasic
GetObjectSize() As Long
```

# Events

See section [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/418938915/MarqueeProgressIndicator+Generic#Events](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/418938915/MarqueeProgressIndicator+Generic#Events).