You are on page 1of 3

Chapter 3 Element Function|ScrEdit Software User Manual

3.15 Keypad Element

Table 3.15.1 Property Description of Keypad Element


Property Description of Keypad (1) / (2) / (3) Element
Provide three kinds of default keypad elements for selection. The users can select decimal, hexadecimal or
character these three kinds of keypad according to difference application requirement.

Keypad (1) Decimal Keypad Keypad (2) Hexadecimal Keypad

Keypad (3) Character Keypad

The users can redefine the display text of each button shown on the keypad. The other buttons, such as
<ENT> (Enter), <CLR> (Clear), <DEL> (Delete) and <ASCII> (Input Character) can also be renamed
flexibly. Please refer to the following figure below:

The keypad is displayed in a “Group” on the screen. The users can use “Ungroup” command from “Edit”
menu bar to ungroup all the buttons. Then, the users move and change the button size freely. At this time,
the users can redefine the display text shown on the button in the property table. When the “Text” option is
inputted as number “1”, the display text on the button will be “1”. If the users refine it as number “2”, the
display text will be changed to “2”. If it is refined as character “A”, the display text will be changed to “A”. If it
is changed to character “%“, the display text will be changed to “%” and vise versa.

The input character will be sent to Active Numeric Entry element or Active Character Entry element. For
these two kinds of elements, the users have to set the Input Mode as “Active” option and set InterLock
Address. Please refer to Table 3.10.2 & Table 3.10.3 for the property description of Numeric / Character
Entry elements.

Revision 05/30/2006, EH00 3-81


Chapter 3 Element Function|ScrEdit Software User Manual

Property Description of Keypad (1) / (2) / (3) Element


Text The users can set the text, text size, font and text color that provided by Windows® to
Text Size determine the text display on the element. When the users press button next to
Font “Font”, the following “Font Detail Setting” dialog box will display.
Text Color

In “Font Detail Setting” dialog box, the users can select Font Name, Font Size and
Ratio of the text and view the text format from the Preview window in advance. If the
multi-language function is used, the users can see different language tabs and edit
different language font setting in “Font Detail Setting” dialog box. Please refer to the
example figure above.
Picture Bank Name (Please refer to Table 3.2.2 Property Description of General Buttons.)
Picture Name
Transparent Effect (Please refer to Table 3.2.2 Property Description of General Buttons.)
Transparent Color
Foreground Color There are Standard and Raised these two options.
Style

(When the style is selected as Standard and the foreground color is set to
green.)

(When the style is selected as Raised and the foreground color is set to red.)

Detail Setup The users can redefine the buttons of the keypad
Display Display text or character
Mode The are following modes provided::
1. <ENT> Enter
2. <CLR> Clear
3. <DEL> Delete
4. <ASCII> Character

3-82 Revision 05/30/2006, EH00


Chapter 3 Element Function|ScrEdit Software User Manual

Example for Creating a Keypad Element:

1. Create the following elements first

The created elements are: one Keypad (1) element, one Momentary button, three numeric entry
elements and three numeric display elements.
2. Related Element Property Description

Element Property Description


Keypad (1) Reserve the default value. The users can also change the display text.
Momentary button The write address is set to Internal memory $10.1. The main function is
used to enable the following numeric entry elements and let them receive
the input value.
Numeric Entry (Left) The write address is set to Internal memory $0, Input Mode is set to Active
and the InterLock Address is set to $10.1. When the Momentary button is
pressed, the numeric entry element will prepare to receive the input value.
After the users press the Enter button, the numeric entry element will blink
and it indicates that the numeric entry element is receiving the input value.
When the value is received completely, the numeric entry element will
stop blinking. In the figure below, the Numeric Entry (Left) will blink first.
When the input value is transferred to the next element, the next element
will blink next and vise versa.
Please refer to the following figure:

The element blinking order is determined by the order of creating


elements.
Numeric Entry (Middle) The write address is set to Internal memory $1, Input Mode is set to Active
and the InterLock Address is set to $10.1.
Numeric Entry (Right) The write address is set to Internal memory $2, Input Mode is set to Active
and the InterLock Address is set to $10.1.

Numeric Display (Left) The read address is set to Internal memory $0.
Numeric Display (Middle) The read address is set to Internal memory $1.
Numeric Display (Right) The read address is set to Internal memory $2.

Revision 05/30/2006, EH00 3-83

You might also like