Script Classes Non-class Creator Functions

Non-class Attachment Functions


These functions create a new instance of a script class object by attaching a window or data object displayed on the Mira desktop ("GUI"). These functions create and return a new class object identical to that created using one of the class attach methods. For example, the attachlist_imageview function attaches an Image Window on the GUI and creates a CImageView object identical to that created by the CImageView:AttachFromList method. Each of these functions returns a new instance of the class object.

To create a new, default class object, see the Non-class Creator Functions.

Non-class Attachment Functions

 

Report Windows

 

attach_gridview

Attaches the grid control in a Report Window on the GUI and returns a new CGridView class object for it.

attach_gridview_by_name

Attaches a Report Window on the GUI by matching the window's title and creates a CGridView object for it. The new CGridView object is returned.

attachlist_gridview

Attaches a Report Window selected from a list of all Report Windows on the GUI and creates a new CGridView class object for it. The new CGridView object is returned.

Images

 

attachlist_image

Attaches an image selected from a list of all images in all Image Windows on the GUI and returns a new CImage class object for it.

Image Windows

 

attach_imageview

Attaches an Image Window on the GUI and returns a new CImageView class object for it.

attach_imageview_by_name

Attaches an Image Window on the GUI by matching the window's title and creates a CImageView object for it. The new CImageView object is returned.

attachlist_imageview

Attaches an Image Window selected from a list of all Image Windows on the GUI and returns a new CImageView class object for it.

Plot Windows

 

attach_plotview

Attaches a Plot Window on the GUI and returns a new CPlotView class object for it.

attach_plotview_by_name

Attaches a Plot Window on the GUI by matching the window's title and creates a CPlotView object for it. The new CPlotView object is returned.

attachlist_plotview

Attaches to a Plot Window selected from a list of all Plot Windows on the GUI and returns a new CPlotView class object for it.

Text Windows

 

attach_textview

Attaches a Text Window on the GUI and returns a new CTextView class object for it.

attach_textview_by_name

Attaches a Text Window on the GUI by matching the window's title and creates a CTextView object for it. The new CTextView object is returned.

attachlist_textview

Attaches a Text Window selected from a list of all Text Windows on the GUI and returns a new CTextView class object.

Related Topics

Contents

Script Classes

Non-class Creator Functions

 


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