CTextView:Close


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

Syntax

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

V = attachlist_textview()

-- Select window from a list of all CTextView windows

if V then

-- if a target window was selected, then

  V:Close()

-- close the window

end

 

Related Topics

CTextView, delete


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