LadderEditor

<< 点击显示目录 >>

主页  mappView帮助助手 > mapp View帮助信息 > Widgets  > Process  > LadderEditor  >

LadderEditor

Widget "LadderEditor" is used to program in Ladder Diagram in a mapp View HMI application.

mapp CodeBox must be implemented in order to use widget "LadderEditor"!

To use this widget, library MpServer must be present on the target system. "MpServer" is used for internal communication. For more information, see here.

The following properties cannot be used in compound widget "Mapping":

zIndex, left, top, height, width

Appearance

laddereditor_editor

laddereditor_runtime

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

enable

Boolean

Defines the usability of the widget. A disabled widget (enable=false) does not react to user interaction and does not trigger events. The "disabled..." style is displayed at runtime. The "enable" behavior is inherited from the container widgets to the child widgets.

check

 

true

visible

Boolean

Defines the visibility of the widget. The widget can be hidden with visible=false. (visible = true, hidden = false). The "visible" behavior is inherited from the container widget to the child widgets.

check

 

true

style

StyleReference

Reference to a customizable widget style.

check

 

default

permissionView

RoleCollection

Defines the roles that are permitted to see the widget. For roles without sufficient rights, the widget is hidden.

 

 

 

permissionOperate

RoleCollection

Defines the roles that are permitted to use the widget. For roles without sufficient rights, the widget does not react to user interaction and does not trigger events.

 

 

 

zIndex

UInteger

zIndex determines the z-order of the widget. With overlapping widgets, the zIndex determines which widget is on the top and which one is on the bottom. The widget with the larger zIndex is on top, and the one with the smaller zIndex is on the bottom. The zIndex must be unique within a piece of content or a container widget. The zIndex is automatically assigned by the visual editor and can therefore be changed via the toolbar.

 

check

 

left

Integer

Absolute position measured from the left border of the surrounded element (e.g. container widget or content).

 

 

 

top

Integer

Absolute position measured from the top border of the surrounded element (e.g. container widget or content).

 

 

 

width

Size

Defines the total width of the widget in pixels.

A value in % refers to the width of the surrounding element.

 

 

450

height

Size

Defines the total height of the widget in pixels.

A value in % refers to the height of the surrounding element.

 

 

350

mpLink

MpComIdentType

Connection to the mapp component. The important thing here is that the binding mode is "Read/Write".

check

check

 

showComments

Boolean

Defines whether network comments should be visible and editable. (visible = true, hidden = false)

 

 

true

showTitleBar

Boolean

Defines whether the title bar is displayed ("showTitleBar" = true) or not ("showTitleBar" = false)

 

 

true

columnWidth

UInteger

Defines the width of a column in a network

 

 

90

minColumns

UInteger

Defines the minimum number of columns in a network. At least 2 columns must be configured in a network.

 

 

4

maxColumns

UInteger

Defines the maximum number of columns in a network.

If maxColumns = 0, any number of columns can be configured.

 

 

0

rowHeight

UInteger

Defines the height of a row in a network

If rowHeight = 0, any height can defined.

 

 

90

maxRows

UInteger

Defines the maximum number of rows in a network.

If maxRows = 0, any number of rows can be created.

 

 

0

keyboard

Boolean

Defines whether an on-screen keyboard is used for entries.

If keyboard=true, an on-screen keyboard is used and opens automatically as soon as input is required in the widget. If keyboard=false, it must be ensured that a hardware keyboard is available.

 

 

true

tooltip

String

Defines the text that should appear as information when the tooltip indicator is pressed.

A static text or a text from the text system can be used. For more information, see here.

Mode "Tooltip" must be enabled for this. There are two different options for this:

Using action "ShowTooltip"

Using action "Client system" ShowTooltips.

 

 

 

tabIndex

Integer

Property tabIndex is used to manage the tab order during keyboard operation.

For additional information, see Keyboard operation.

ENTER triggers event Click if tabIndex ≥0.

It is not possible to operate widget LadderEditor with the keyboard.

 

 

-1

Styleable properties

Name

Type

Description

Default value

backColor

Color

Defines the background color of the widget.

This styleable property is also applied to the title bar and its menu and popup window.

#FFFFFF

backGroundGradient

Gradient

Defines the background color of the widget as a color gradient.

 

borderColor

ColorCollection

Defines the color of the border around the widget.

#000000

borderStyle

BorderStyle

Defines the style of the border around the widget. Borders can be unbroken, dashed or dotted.

solid

borderWidth

PixelValCollection

Defines the width of the border around the widget.

1px

textColor

Color

Defines the color used to display the text.

This styleable property is also applied to the texts in the menu and title bar's popup window.

#000000

fontName

FontName

Defines the font used for the text shown.

This styleable property is also applied to the texts in the title bar.

Arial

fontSize

PixelVal

Defines the size of the font used to display the text.

This styleable property is also applied to the texts in the title bar.

14px

shadow

Shadow

Defines the shadow of the widget.

none

disabledBackColor

Color

Defines the background color of the widget in the disabled state.

#D3D3D3

disabledBackGroundGradient

Gradient

Defines the background color of the widget as a color gradient in the disabled state.

 

disabledBorderColor

ColorCollection

Defines the color of the border around the widget in the disabled state.

#000000

disabledBorderStyle

BorderStyle

Defines the style of the border in the disabled state.

solid

disabledBorderWidth

PixelValCollection

Defines the width of the border around the widget in the disabled state.

1px

disabledTextColor

Color

Defines the color of the text in the disabled state.

#0000000

lineColor

Color

Defines the color of the graphs.

#0000000

lineWidth

PixelVal

Defines the thickness of the graphs.

3px

selectionColor

Color

Defines the color when a cell is selected.

rgba(255, 128, 0, 0.7)

highlightColor

Color

Defines the color used to display where an item can be placed.

rgba(255, 128, 0, 0.2)

powerflowLineColor

Color

Defines the color used for Powerflow.

#FF8000

powerflowLineWidth

PixelVal

Defines the width of Powerflow.

3px

titleBarTextColor

Color

Defines the color of the text in the title bar. This style is also applied to the title bar's menu.

#FFFFFF

titleBarBackColor

Color

Defines the background color of the title bar. This style is also applied to the title bar's menu.

#FF8000

Topics in this section:

Actions and events