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

---

# Description

The IPpad is a sixteen-key numeric keypad for IP address enter. It allows entering 4 numbers 0-255 and optional port 0-65535 in format 123.123.123.123:1234. An input IP address is displayed in the display area. If the button Enter is pressed the event is raised. The event delivers the input number as text. Every time any numeric button has pushed the event OnKeyPress is raised and it delivers the button code. The IPpad is available in two sizes - 250 x 300 and 200 x 240 pixels.

![image](media://bf075fab-ed87-41a8-9074-6b5283d329ac)

# 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-Properties](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/401178660/BasicKeyboards+Collection#Common-Properties) . 

# Events

## OnEnter 

This event is raised whenever the button Enter is pushed. It returns input text in the parameter keypadtext and id which was set by the 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 the key in the parameter keytext and id which was set by the function ShowObject().

Parameter keytext returns

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

#### Syntax

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