CPlotView:Close


The Close method closes the CPlotView window and deletes the CPlotView object.

Syntax

bSuccess = CPlotView:Close()

bullet.gif    On success, this method returns true.

bullet.gif    On failure, this method returns false.

Example

The following script opens a list of all CPlotView windows and returns the user-selected window V. It then closes the target window:

V = attachlist_plotview()

-- Select window from a list of all CPlotView windows

if V then

-- if a target window was selected, then

  V:Close()

-- close the window

end

 

Related Topics

CPlotView, delete


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.