CGridView:Close


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

Syntax

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

V = attachlist_gridview()

-- Select window from a list of all CGridView windows

if V then

-- if a target window was selected, then

  V:Close()

-- close the window

end

 

Related Topics

CGridView, delete


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