CGridView:Class Description


The CGridView class wraps a Mira grid view window that displays tabular data.

Usage

Construction

Object = CGridView:new()

Destruction

Object:delete()

Properties (Variables)

ptr

A pointer to the Mira grid view window. This pointer is nil if no grid view window has been attached.

Note: It is not wise to work directly with ptr. Instead, refer to ptr using the GetViewPtr method.

Methods

Construction

new

Creates a new CGridView object.

delete

Deletes the CGridView object.

Attach

Attaches the top-most window (an Image window) to the script and creates a new CGridView object for it.

NOTE: When using this method, make the target image window the top-most window and run the script using the Script Manager or the [!] button on the main toolbar, not the [!] button in the script editor window.

AttachFromList

Attaches an Image window selected from a list and creates a new CGridView object for it.

GetViewPtr

Returns a pointer to the Mira image view window attached to the CGridView object.

AttachHandle

Attaches the handle of a grid window to this CGridView object.

GetHandle

Retrieves the handle of the GUI grid window attached to the current object.

Related Topics

Script classes