Filters: IMetabaseDialogFilters;
The Filters property returns the collection of filters that are used to filter objects displayed in the component.
Executing the example requires a form with the button named Button1 and the MetabaseTreeList component named MetabaseTreeList1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Filter: IMetabaseDialogClassFilter;
Begin
Filter := New MetabaseDialogClassFilter.Create;
Filter.ObjectClass := MetabaseObjectClass.KE_CLASS_TABLE;
MetabaseTreeList1.Filters.AddFilter(Filter);
End Sub Button1OnClick;
After the executing the example, on clicking the button the MetabaseTreeList1 component repository tree displays the repository tables.
See also: