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

---

# Description

The Multicolor FloatingWindow is a basic object used as a container for other objects. In the Properties, OpenMode, BackgroundPicure and BackgroundColor may be set. BackgroundPicture is the main theme for the background, BackgroundColor is the main theme color. Background image is automatically adjusted to the size of the FloatingWindow Properties.

![image](media://83eceab5-1a53-48ba-9e2f-3fe27cd85d62)

# Properties

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

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Appearance |
| BackgroundPicture | Long | 1 = Stripes  
2 = Fans | Fans | To select the main theme background. |
| BackgroundColor | Long | Any | _COLOR_WHITE | Color of background. |
| BackgroundStyle | Long | Non  
Outer Shadow | Non | Style of background. |

# Functions

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

## SetBackgroundColor

This function sets 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
```

## SetBackgroundPicture

This function sets BackgroundPicture to newbackgroundpicture. Function returns True. You can use the following predefined constants for picture

- PICTURE_STRIPES
- PICTURE_FANS

#### Syntax

```visualbasic
Function SetBackgroundPicture(newbackgroundpicture As Long) As Boolean
```

## GetBackgroundPicture

This function returns current BackgroundPicture.

#### Syntax

```visualbasic
Function GetBackgroundPicture() As long
```

## SetBackgroundStyle

This function sets BackgroundStyle to newbackgroundstyle. Function returns True. You can use the following predefined constants for style:

- BACKGROUNDSTYLE_NON
- BACKGROUNDSTYLE_OUTERSHADOW

#### Syntax

```visualbasic
Function SetBackgroundStyle(newbackgroundstyle As Long) As Boolean
```

## GetBackgroundStyle

This function returns current BackgroundStyle.

#### Syntax

```visualbasic
Function GetBackgroundStyle() As long
```

# Events

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