MetabaseSaveDialog

Inheritance Hierarchy

          IComponent

          IMetabaseDialog

          IMetabaseSaveDialog

          MetabaseSaveDialog

Description

The MetabaseSaveDialog component is a repository object save dialog box.

Working with the Component

The dialog box can be used to filter empty folders. To do this, select the corresponding context menu item. Filtering is enabled by default. To initialize the dialog box, call the Execute method.

Component Filters

To set up filtering for objects displayed in the component tree, execute one of the following operations:

This dialog box contains a list of filters applied to the component.

The list is displayed as a table made up of two columns:

The dialog box can be used to create new filters, edit or delete the existing ones. Multiple filters can be selected in the table, these selected filters can only be deleted.

Filter description can be edited. To do this, select the required filter and click the description with the mouse button. After a few seconds a dialog box for editing a description opens. One can also use the F2 key.

Creating an Object Filter

To create a new object filter, execute one of the following operations:

In the dialog box opened in the class tree select the object classes which are available when this filter is used. Separate filters will always be created for all the selected classes (subclasses). Descriptions of created filters match the names of classes (subclasses).

Clicking th OK button creates a new filter (filters) for the selected object classes.

Editing Object Filter

To edit a filter, execute one of the following operations:

Following this a dialog box for editing the filter opens:

The dialog box can be used to change the object class (subclass), for which the filter has been created as well as filter description. Clicking the OK button saves the changes.

Deleting Filter

To delete a filter (filters), select it in the table and execute one of the following operations:

The filter is deleted.

Example

Properties of the MetabaseSaveDialog Component

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components.
Components The Components property returns the child component.
Data The Data property is used to store any custom data.
FilterIndex The FilterIndex property determines index of the selected component filter.
Filters The Filters property returns the component filters collection.
FolderFilters The FolderFilters property returns the collection of filters that are used to determine folder objects in the dialog box.
InitialFolder The InitialFolder property determines an initial folder.
Name The Name property determines a component name.
Object The Object property returns the description of the selected repository object.
Objects The Objects property returns the collection of selected repository objects.
Root The Root property determines a root folder.
SaveObject The SaveObject property determines description of the repository object to be saved.
Tag The Tag property is not used by the compiler. The user can change the value of the Tag property and use it as he wishes.
Title The Title property determines a dialog box title.

Methods of the MetabaseSaveDialog Component

  Method name Brief description
Execute The Execute method initializes the repository object open dialog box.

See also:

Additional Components