new_griddlg CGrid:AddMenu

new_griddlgmodal


The new_griddlgmodal function opens a CGrid object into a modal grid dialog. Use new_griddlg 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_griddlgmodal( 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_griddlgmodal(G)

-- open the CGrid into a modal dialog.

Related Topics

CGrid class

new_griddlg

new_grid

GridParams table


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