f$Structure_move_node (f$Struktur_KN_Move)
f$Structure_move_node (f$Struktur_KN_Move)
All nodes in a structure dialog above-left or below-right of an entered point, depending on the mode, are moved with this function. With this function you can make more space if additional nodes need to be inserted within a structure.
Syntax: | Status = f$Struktur_KN_Move ( Number , Mode, X , Y , DX , DY ) | |||
| Argument | Type | Meaning | |
| Number | Integer | Number returned by f$Structure_open | |
| Mode | Integer | Identifier for the nodes to be moved: | |
| X | Integer | x-coordinate of the reference point | |
| Z | Integer | y-coordinate of the reference point | |
| DX | Integer | Movement on the x-axis (negative values are also allowed) | |
| DY | Integer | Movement on the y-axis (negative values are also allowed) | |
Result: | Integer | Status: -99: a structure dialog with the given number does not exist 0 : everything OK | ||
Example: | status = f$Struktur_KN_Move ( Number , 1,Node_cur.Xpos , Node_cur.Ypos , DeltaX , DeltaY ) | |||