Top  | Previous | Next

LED Display

display_LEDDisplay

Description

The  LED display is a stylized numeric or alphanumeric label. It has three different visual styles which all correspond to a kind of physical display: 7-segment, 14-segment, and 5x7 matrix. By default this component is in numeric mode, which means you should use its Value property. If you need to display characters as well, switch the mode to alphanumeric, and use the Text property.

Properties

Appearance

Style

The visual style of the display.

Scripting name

style

Data type

int

Values

7

7 Segment

14

14 Segment

34

5x7 Matrix

Background Color

The color of the background

Scripting name

background

Data type

Color

LED Lit

The color of lit LED segments

Scripting name

glyphForeground

Data type

Color

LED Unlit

The color of unlit LED segments

Scripting name

glyphBackground

Data type

Color

Styles

Contains the component's styles

Scripting name

styles

Data type

Dataset

Flags

bindable | expert

Behavior

Mode

The mode of the display.

Scripting name

mode

Data type

int

Values

0

Numeric

1

Alphanumeric

Number Format Pattern

The number formatting string used to format the value.

Scripting name

numberFormat

Data type

String

Common

Name

The name of this component.

Scripting name

name

Data type

String

Flags

bindable

Visible

If disabled, the component will be hidden.

Scripting name

visible

Data type

boolean

Flags

bindable

Border

The border surrounding this component. NOTE that the border is unaffected by rotation.

Scripting name

border

Data type

Border

Mouseover Text

The text that is displayed in the tooltip which pops up on mouseover of this component.

Scripting name

toolTipText

Data type

String

Cursor

The mouse cursor to use when hovering over this component.

Scripting name

cursorCode

Data type

int

Values

0

Default

1

Crosshair

2

Text

3

Wait

12

Hand

13

Move

4

SW Resize

5

SE Resize

6

NW Resize

7

NE Resize

8

N Resize

9

S Resize

10

W Resize

11

E Resize

Data

Value

The numeric value of the display, used when Mode is Numeric

Scripting name

value

Data type

double

Flags

bindable

Text

The text value of the display, used when Mode is Alphanumeric

Scripting name

text

Data type

String

Flags

bindable

Data Quality

The data quality code for any tag bindings on this component.

Scripting name

dataQuality

Data type

int

Flags

bindable | expert

Layout

Horizontal Alignment

Determines the alignment of the display's contents along the X axis

Scripting name

horizontalAlignment

Data type

int

Values

2

Left

0

Center

4

Right

Letter Gap

The percentage of the height to be used as an inter-character spacing

Scripting name

gap

Data type

float

Flags

expert

Margin

The margin for the interior of the display

Scripting name

margin

Data type

Insets

Flags

expert

Scripting

Events

The following event sets are fired by this component. See Component Event Handlers to learn more.

mouse
mouseMotion
propertyChange

 

Scripting Functions

This component has no special scripting functions.