Skip to main content
Skip table of contents

f$Structure_node (f$Struktur_Knoten)


f$Structure_node (f$Struktur_Knoten)

A node is created in a structure dialog with this function.

The following types of node exist:

1 - button

2 - checkbox

3 - fixed text with background and frame

4 - fixed text without background and frame

Additional properties for a node are position, size, and style (according to a definition of font and color)

Syntax:

Status = f$Struktur_knoten (Number, PGName)

 

Argument

Type

Meaning

 

Number

Integer

Number returned by f$Structure_open

 

PGName

String

Name of a parameter group containing the node data

Result:

Integer

Status:

-99: a structure dialog with the given number does not exist

-1 : a node with the same name already exists

0 : node successfully created

The following parameters are evaluated from the given parameter group:

Name

Description

Type

Name

Name of the node. If a name has not been entered, the system automatically allocates a name and writes it back onto the parameter

String

Text

Text of the node

String

Type

1 - button

2 - checkbox

3 - fixed text with background and frame

4 - fixed text without background and frame

Integer

Xpos

x-coordinate of the node (upper-left corner)

Integer

Ypos

y-coordinate of the node (upper-left corner)

Integer

SizeNo

Size: 1 – normal, 2: double width, 3: double height, 4: double width and double height

Integer

Style

Allocation to a style (see f$Structure_Style)

Integer

Status

Status: 0- normal, 1, node is selected (displayed in selection color)

Integer

Example:

status = f$struktur_knoten (StructureNumber, 'Node[No]')

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.