Top  | Previous | Next

Cylindrical Tank

display_CylindricalTank

Description

A component that looks like a 3D cylindrical tank, with some liquid inside. The liquid rises and falls as the Value property changes.

Properties

Appearance

Font

Font of text of this component

Scripting name

font

Data type

Font

Foreground Color

The foreground color of the component.

Scripting name

foreground

Data type

Color

Background Color

The background color of the component.

Scripting name

background

Data type

Color

Rotation

The angle of rotation in degrees.

Scripting name

rotation

Data type

int

Anti Alias

Draw component using anti-aliasing?

Scripting name

antiAlias

Data type

boolean

Flags

expert

Units

Units of measure for tank contents

Scripting name

units

Data type

String

Show Value

Show numeric value, capacity, and units?

Scripting name

showValue

Data type

boolean

Show Percentage

Show percentage of tank filled?

Scripting name

showPercent

Data type

boolean

Value Format

Format string used for the value

Scripting name

valueFormat

Data type

String

Percent Format

Format string used for the percentage

Scripting name

percentFormat

Data type

String

Font Color

The color of the value and/or percentage labels.

Scripting name

fontColor

Data type

Color

Tank Color

Color of the non-filled tank section

Scripting name

tankColor

Data type

Color

Flags

bindable

Liquid Color

Color of the filled tank section

Scripting name

liquidColor

Data type

Color

Flags

bindable

Styles

Contains the component's styles

Scripting name

styles

Data type

Dataset

Flags

bindable | expert

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

Numeric value of tank's level

Scripting name

value

Data type

double

Flags

bindable

Capacity

Total capacity of tank

Scripting name

capacity

Data type

double

Flags

bindable

Data Quality

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

Scripting name

dataQuality

Data type

int

Flags

bindable | 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.