UserInterface Object

User interface manager. Allows invoking commands and accessing user interface elements such as dialogs and controls. Scripting the user interface requires that the script is run in a separate thread.

 

Properties

 

Application Application

Returns application. Read only. 

 

Boolean DisplaysModalDialog

Returns True if user interface displays a modal dialog. Read only.  

 

UserInterfaceDialog ModalDialog

Returns topmost modal dialog. Read only.  

 

Any Parent

Returns parent object. Read only. 

 

UserInterfaceDialogSet Panes

Returns panes. Panes can be accessed by names. Read only. 

 

UserInterfaceDialogSet Toolbars

Returns toolbars owned by the main window. Individual toolbars can be accessed by names. Read only.

 

Methods

 

InvokeCommand(String name, String context)

Invokes command with given name. To see the names of available commands, launch Manifold from the command line specifying the "/clist" command line option. The context parameter is optional. If supplied, it uses one of the following patterns:

 

"cell:<rowNumber>:<columnName>" - executes command in the context of the table cell in the specified column and row in the active table window,

 

"column:<columnName>" - executes command in the context of the specified column in the active table window,

 

"element:<elementID>" - executes command in the context of the specified layout element in the active layout window,

 

"label:<labelID>" - executes command in the context of the specified label in the active labels window or map window,

 

"layer:<layerName>" - executes command in the context of the specified layer in the active map window,

 

"object:<objectID>" - executes command in the context of the specified drawing object in the active drawing window or map window,

 

"pane:<paneName>" - executes command in the context of the specified pane,

 

"row:<rowNumber>" - executes command in the context of the specified row in the active table window.

 

Obtained From

 

Application (UserInterface)

 

See Also

 

Scripting Reference