Deletes an internal window found in the list of internal windows browsed by an Internal Window control.
// Deletes the first internal window added into the control
IWListDelete(IW_InternalWindowControl, 1)
Syntax
<Result> = IWListDelete(<Internal Window control> [, <Position>])
<Result>: Boolean
- True if the internal window was deleted,
- False otherwise. To get more details on the error, use ErrorInfo.
<Internal Window control>: Control name
Name of the Internal Window control to use.
<Position>: Optional integer
Position of the internal window to delete. If this parameter is not specified, the internal window currently displayed will be deleted.
Remarks
- If the deleted internal window corresponds to the internal window currently displayed in the control, the next internal window will be displayed (or the previous one if the deleted internal window was the last one).
- When an internal window is deleted from the list of internal windows, the internal windows that follow the deleted window are re-numbered.