new_griddlg


The new_griddlg function opens a CGrid object into a modeless grid dialog. Use new_griddlgmodal to open the grid into a modal dialog. For a descripion of modeless versus modal grid dialogs, see the CGrid class description.

Syntax

D = new_griddlg( CGrid_object )

bullet.gif    Opens the CGrid object CGrid_object into a modal dialog window.

bullet.gif    Returns true on success and false on failure.

Example

The following script creates a CGrid object using the GridParams table to initialize the grid, fills it with data, and then opens it into a modeless dialog:

G = new_grid(GridParams)

-- create CGrid with properties in GridParams

-- assemble the grid

 

D = new_griddlg(G)

-- open the CGrid into a modeless dialog.

Related Topics

CGrid class, new_griddlgmodal, new_grid, GridParams table


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