f$Structure_read_n (f$Struktur_K_Lesen)
f$Structure_read_n (f$Struktur_K_Lesen)
All nodes are read from a structure dialog with this function.
Syntax: | Number = f$Struktur_K_Lesen (Number, NamePG) | |||
| Argument | Type | Meaning | |
| Number | Integer | Number returned by f$Structure_open | |
| NamePG | String | Name of an indexed parameter group to which the node data is written. Note: the name of the parameter group must be entered without index details. | |
Result: | Integer | Status: -99: a structure dialog with the given number does not exist >=0 : number of nodes | ||
The following parameters are written to the specified parameter group:
Name | Description | Type |
Form | The name of the current form is returned on this parameter for every node. This simplifies the administration of the nodes in a database. | String |
Name | Name of the node. | 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$Struktur_Stil) | Integer |
Status | Status: 0- normal, 1, node is selected (displayed in selection color) | Integer |
Example: | f$PGNoVal( 'Node[]' ) | |
| NumberNodes = f$Struktur_K_Lesen (Number, 'Node') | |