GVL_Constants (GVL)

InOut:

Scope

Name

Type

Initial

Comment

Constant

STRING_EMPTY

STRING

‘’

The empty string

ELEMENT_CALL_INITIALIZE

INT

0

Parameter for call of method ElementCall with the meaning: Called from Initialize

ELEMENT_CALL_UPDATE

INT

1

Parameter for call of method ElementCall with the meaning: Called from Update

ELEMENT_CALL_HANDLE_INPUT

INT

2

Parameter for call of method ElementCall with the meaning: Called from HandleInput

ELEMENT_CALL_REGISTER

INT

3

Parameter for call of method ElementCall with the meaning: Called for registring/ (unregistring) variables at the data server

ELEMENT_CALL_PASS_1ST_VISIBLE_ROW

INT

4

Only used for the integrated visualization resp. web visualization. Passes the 1st visible row to the C# resp. Java implementation

ELEMENT_CALL_PASS_LAST_ROW_INDEX

INT

5

Only used for the integrated visualization resp. web visualization. Passes the maximum possible row index to access the array

ELEMENT_CALL_PASS_SELECTION

INT

6

Only used for the integrated visualization resp. web visualization. Passes the currently selected row from the comboboxarray, that has to be displayed in the box

ELEMENT_CALL_UPDATE_DYNAMIC

INT

7

Parameter for call of method ElementCall for updating the dynamically created cells.

ELEMENT_CALL_ADD_RECTANGLES

INT

8

Parameter for call of method ElementCall for adding the touch rects for cells with tap input.

ELEMENT_CALL_UPDATE_CELL_DATA

INT

9

Parameter for call of method ElementCall for updating the cell data.

ELEMENT_CALL_GET_MOUSE_DOWN_RECT_COUNT

INT

10

ELEMENT_CALL_UPDATE_MOUSE_DOWN_RECTS

INT

11

ELEMENT_CALL_UPDATE_HEADER_CELL_DATA

INT

12

Parameter for call of method ElementCall for updating the header cell data.

EXECUTE_UNDEFINED

INT

0

An int, representing the undefined input event.

EXECUTE_DIALOGCLOSED

INT

1

An int, representing the input event, when dialog is closed. Same value like in C# code of CoDeSys.

EXECUTE_MOUSECLICK

INT

2

An int, representing the input event, when mouse was clicked. Same value like in C# code of CoDeSys.

EXECUTE_MOUSEDOWN

INT

3

An int, representing the input event, when mouse button is pressed. Same value like in C# code of CoDeSys.

EXECUTE_MOUSEENTER

INT

4

An int, representing the input event, when mouse entered a visualisation element. Same value like in C# code of CoDeSys.

EXECUTE_MOUSELEAVE

INT

5

An int, representing the input event, when mouse left a visualisation element. Same value like in C# code of CoDeSys.

EXECUTE_MOUSEMOVE

INT

6

An int, representing the input event, when mouse cursor has been moved. Same value like in C# code of CoDeSys.

EXECUTE_MOUSEUP

INT

7

An int, representing the input event, when mouse button is released. Same value like in C# code of CoDeSys.

INVALID_ROW

INT

-32768

A possible value for VisuFbElemTable.m_iRowIndex: Nonexisting row index.

INVALID_COL

INT

-32768

A possible value for VisuFbElemTable.m_iColIndex: Nonexisting column index.

LINE_WIDTH_HIGHLIGHTED_CELLS

INT

3

The line width of selected cells, that should have a frame around the cell (selected using mouse)

LINE_WIDTH_SELECTED_CELLS

INT

4

The line width of selected cells (selected by selection using keyboard)

UPDATE_RECT_VERTICAL_SCROLLBAR

INT

0

Special value for adding update rectangles: Identifies the vertical scrollbar

UPDATE_RECT_ROW_HEADER

INT

1

Special value for adding update rectangles: Identifies the row header column

UPDATE_RECT_PARTIALLY_VISIBLE_ROW

INT

2

Special value for adding update rectangles: Identifies the row at the end of the table, that is partially visible resp. invisible.

UPDATE_RECT_COMPLETE_TABLE

INT

3

Special value for adding update rectangles: Identifies update rectangle of the complete table

LABEL_BUFFER_SIZE

UINT

50

Size in bytes of the variable, that holds the label

LABEL_BUFFER_SIZE_W

UINT

100

Size in bytes of the variable, that holds the label (unicode)