---
title: "WallCalendar (Basic)"
canonical: "https://docs.cuesystem.com/space/CVCGC/403570696/WallCalendar%20(Basic)"
format: markdown
---
> Macro (toc)

---

# Description

This object displays current local date of a CUEunit. The date format is fixed as described on the following figure. Up to eight object sizes can be selected.

![image](media://bb23573d-b908-4ba1-b0a6-77ee921a8a3f)

# Properties

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Appearance |
| ObjectSize | Long | 0 = Drag&Fit  
1 = 81x100  
2 = 97x120  
3 = 130x160  
4 = 162x200  
5 = 227x280  
6 = 292x360  
7 = 389x480  
8 = 486x600 | 0 | Specifies size of the object. If Drag&Fit is selected it picks biggest size which fits into object boundary. |

# Functions

## SetObjectSize 

This function sets object size to newobjectsize. Possible values are

- 0 = Drag&Fit
- 1 = 81x100
- 2 = 97x120
- 3 = 130x160
- 4 = 162x200
- 5 = 227x280
- 6 = 292x360
- 7 = 389x480
- 8 = 486x600

The function returns True on success or False if an error occurs.

#### Syntax

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

## GetObjectSize 

This function returns current object size. For possible values see function SetObjectSize.

#### Syntax

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