---
title: "MulticolorEventScheduler"
canonical: "https://docs.cuesystem.com/space/CVCGC/449019923/MulticolorEventScheduler"
format: markdown
---
> Macro (toc)

---

# Description

This graphic collection may be customized by choosing various colors in object Properties.

You can change the colors of Confirm dialog box Buttons, Keyboard Buttons, Keyboard Close Button, TimePicker Button, Delete Plan Button, New Plan Button, and drop-down Plan List Button.

![image](media://7cc41aad-e064-40e6-8649-388eadb8da37)

# Properties

See section [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/450134037/GraphicClass+-+EventSchedulerUI#Properties](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/450134037/GraphicClass+-+EventSchedulerUI#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 = 732x317  
2 = 963x421  
3 = 1131x480  
4 = 1882x790 | Drag&Fit | Specifies size of the object. If Drag&Fit is selected it picks biggest size which fits into object boundary. |
| Buttons color |
| Confirm dialog box Buttons | Long | Any | COLOR_ORANGE | Color of Confirm dialog box Buttons. |
| Keyboard Buttons | Long | Any | COLOR_ORANGE | Color of Keyboard Buttons. |
| Keyboard Close Button | Long | Any | COLOR_REDPASTEL | Color of Keyboard Close Button. |
| TimePicker Button | Long | Any | COLOR_REDPASTEL | Color of TimePicker Button. |
| Delete Plan Button | Long | Any | COLOR_REDPASTEL | Color of Delete Plan Button. |
| New Plan Button | Long | Any | COLOR_ORANGE | Color of New Plan Button. |
| drop-down Plan List Button | Long | Any | COLOR_ORANGE | Color of drop-down Plan List Button. |

# Functions

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

## SetKeyboardButtonColors

This function sets buttons colors and close button color to newkeyboardbuttoncolor and newkeyboardbuttonclosecolor. This function returns True.

#### Syntax

```visualbasic
Function SetKeyboardButtonColors(
  newkeyboardbuttoncolor As Long,
  newkeyboardbuttonclosecolor As Long) 
As Boolean
```

## SetSelectBoxButtonsColors

This function sets buttons drop-down Plan List Button, New Plan List button and , Delete Plan List Button colors to newdropdownplanlistbuttoncolor, newnewplanbuttoncolor, newdeleteplanbuttoncolor. This function returns True.

#### Syntax

```visualbasic
Function SetSelectBoxButtonsColors(
  newdropdownplanlistbuttoncolor As Long,
  newnewplanbuttonco- lor As Long,
  newdeleteplanbuttoncolor As Long) 
As Boolean
```

## SetConfirmDialogBoxButtonsColor

This function sets Confirm dialog box buttons color to newconfirmdialogboxbuttonscolor. Function returns True.

#### Syntax

```visualbasic
Function SetConfirmDialogBoxButtonsColor(newconfirmdialogboxbuttonscolor As Long) As Boolean
```

## SetTimePickerButtonColor

This function sets TimePicker Button color to newtimepickerbuttoncolor. Function returns True.

#### Syntax

```visualbasic
Function SetTimePickerButtonColor(newtimepickerbuttoncolor As Long) As Boolean
```

# Events

See section [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/450134037/GraphicClass+-+EventSchedulerUI#Events](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/450134037/GraphicClass+-+EventSchedulerUI#Events).