The MetabaseSaveDialog component is a repository object save dialog box.
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.
To set up filtering for objects displayed in the component tree, execute one of the following operations:
Select the Filter item in the component's context menu.
In the object inspector double-click the Filters property.
This dialog box contains a list of filters applied to the component.
The list is displayed as a table made up of two columns:
Description. This column presents brief description of a filter.
Object Class. A list of all classes (subclasses) included in this filter.
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.
To create a new object filter, execute one of the following operations:
Click the Add button
Press the INSERT key
Double-click a white space in the dialog box.
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.
To edit a filter, execute one of the following operations:
Double-click the required filter.
Select the filter in the table and click the Edit button
Select the filter in the table and press F4
Select the Edit context menu item of the required filter.
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.
To delete a filter (filters), select it in the table and execute one of the following operations:
Click the Delete button.
Press the DELETE key.
Select the Delete item in the context menu of the required filter (filters).
The filter is deleted.
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. |
Method name | Brief description | |
Execute | The Execute method initializes the repository object open dialog box. |
See also: