Deletes a dynamic row from a Multiline Zone control.
// Click on [delete]
nRow is int = MZ_Network.Value
mlzDelete(<Multiline Zone control> [, <Position>])
<Multiline Zone control>: Control name
Name of Multiline Zone control to use.
<Position>: Optional integer
Subscript of row to delete.
- If this parameter is not specified, the deletion will be performed on the current row (if it is a dynamic row). mlzDelete triggers a fatal error if no dynamic row is selected.
- mlzDelete triggers a fatal error if <Position> is greater than the number of rows.
- The index must match the index of a dynamic row (added by mlzAddLine or mlzInsertLine). If the Multiline Zone control contains static rows and dynamic rows, the number of static rows must be taken into account.
The size of the Multiline Zone control is modified to take the deleted row into account: the control is reduced from the bottom. If controls are located below the Multiline Zone control, they are moved to the top. The useful window height is reduced accordingly.