CImageView:Close


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

Syntax

bSuccess = CImageView: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 CImageView windows and returns the user-selected window V. It then closes the target window:

V = attachlist_imageview()

-- Select window from a list of all CImageView windows

if V then

-- if a target window was selected, then

  V:Close()

-- close the window

end

 

Related Topics

CImageView, delete


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