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

---

# Description

The Dialpad is a sixteen key numeric keypad available in two sizes - 250 x 300 and 200 x 240 pixels. Input number is displayed in display area. If button Enter is pressed the event is raised. The event delivers input number as text. Every time any numeric button is pushed the event OnKeyPress is raised and it delivers button code.

![image](media://1742892c-f2bf-40ed-9542-90f41c9efdb5)

# Properties

See section [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/401178660/BasicKeyboards+Collection#Common-Properties](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/401178660/BasicKeyboards+Collection#Common-Properties) . In addition, this object uses the following properties.

|  |  |  |  |  |
| --- | --- | --- | --- | --- |
| Property Name | Data Type | Allowed Values | Default Value | Description |
| Keyboard |
| SmallSize | Boolean | Yes = 200 x 240 pixels   
No = 250 x 300 pixels | No | This property switches size between small size (200 x 240 pixels) and full size (250 x 300 pixels). |

# Functions

See section [https://cue.atlassian.net/wiki/spaces/CVCGC/pages/401178660/BasicKeyboards+Collection#Common-Functions](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/401178660/BasicKeyboards+Collection#Common-Functions) . 

# Events

## OnEnter 

This event is raised whenever button Enter is pushed. It returns input text in the parameter keypadtext and id which was set by function ShowObject.

#### Syntax

```visualbasic
Event OnEnter As Process(keypadtext As Text, id As Long)
```

## OnKeyPress

This event is raised whenever any button is pushed. It returns key in the parameter keytext and id which was set by function ShowObject.

Parameter keytext returns

- “\0008” for button Backspace
- “M“ for button Recall
- Printable characters for rest of buttons

#### Syntax

```visualbasic
Event OnKeyPress As Process(keytext As Text, id As Long)
```