f$Structure_read_indivnode (f$Struktur_eK_Lesen)
f$Structure_read_indivnode (f$Struktur_eK_Lesen)
The data for a single node is read from a structure dialog with this function.
Syntax: | Status = f$Struktur_EK_Lesen ( Number , Key , PGName ) | |||
| Argument | Type | Meaning | |
| Number | Integer | Number returned by f$Structure_open | |
| Key | String | Name of the node to be read out | |
| NamePG | String | Name of a parameter group to which the node data is written. | |
Result: | Integer | Status: -99: a structure dialog with the given number does not exist -1 : a node with this name does not exist 0 : node read successfully | ||
The following parameters are written to the specified parameter group:
Name | Benennung | 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: | status = f$Struktur_EK_Lesen ( Number , Key , 'Node_cur' ) | |