Click or drag to resize

CompactAlphaPad and NumPad

Using CompactAlphaPad

The CompactAlphaPad control is used to enable user input. The input can be in the form of capital letters or numbers depending on the property ActiveCharPanel, which can be set to Characters or Numeric. It has a fixed size, big enough for the use of a finger to click its keys. There are properties available to define whether the numerical panel should support numerical operands, special characters, space and comma. All these properties are set to true in the figure:

compact 1

In order for your application to use the user input, you must connect to a text box, which displays the text or figures entered. This connection has to be coded manually, for example in the constructor, after the call to InitializeComponent, for example:

this.compactAlphaPad1.Target = this.textBox1;

Using NumPad

The NumPad is very similar to the CompactAlphaPad. You have to create a Target to use the input, for example:

this.numPad1.Target = this.textBox2;

compact 2