The MetabaseSaveDialog component is a repository object save dialog.
It is possible to filter empty folders in the dialog; to do so, select the corresponding item of the context menu. Filtering is enabled by default. To initialize this dialog call the Execute method.
To set up filtering for objects displayed in the component tree, take one of the following steps:
Select the Filter item in the context menu of the component.
Under Object Inspector double-click the Filters property.
This window shows 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.
In this window, you can create new filters, edit or delete the existing ones. You can select multiple filters in the table, though these selected filters can only be deleted.
You can edit a filter description. To do this, select the required filter and click the description with your mouse. After a few seconds a dialog box for editing a description is opened. You can also use the F2 button.
To create a new object filter, take one of the following steps:
Click the Add button.
Press INSERT.
Double-click a white space in the dialog box.
In the class tree, select object classes, which should be 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 OK creates a new filter (filters) for the selected object classes.
To edit a filter, take one of the following steps:
Double-click the required filter.
Select the required filter in the table and click the Edit button.
Select required filter and press F4.
Select Edit from the context menu for the required filter.
Following this a dialog box for editing the filter appears:
In this dialog box, you can change the object class (subclass) for which the filter has been created as well as the filter description. Clicking OK saves the changes.
To delete a filter (filters), select it from the table and take one of the following steps:
Click the Delete button.
Press DELETE.
Select the Delete item in the context menu of required filter (filters).
This deletes the filter.
| 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 the index of the filter, used in the dialog. | |
| Filters | The Filters property returns the collection of filters, used by the dialog. | |
| FolderFilters | The FolderFilters collection property returns a collection of filters used to define folder objects in the dialog box. | |
| InitialFolder | The InitialFolder property determines the initial folder. | |
| Name | The Name property determines the component name. | |
| Object | The Object property returns the description of the selected repository object. | |
| Objects | The Objects property returns the collection of the selected repository objects. | |
| Root | The Root property determines the 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 required. | |
| Title | The Title property determines the dialog title. |
| Method name | Brief description | |
| Execute | The Execute method initializes the repository object open dialog. |
See also: