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.
D = new_griddlgmodal( CGrid_object )
Opens the CGrid object CGrid_object into a modal dialog window.
Returns true on success and false on failure.
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:
|
-- create CGrid with properties in GridParams |
-- assemble the grid |
|
|
-- open the CGrid into a modal dialog. |
CGrid class, new_griddlg, new_grid, GridParams table
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.