EnableFilter: Boolean;
The EnableFilter property determines dictionary dimension element filter view.
Executing the example requires that the form contains the Button component with the Button1 identifier, the DimensionTree component with the DimensionTree1 identifier and the UiDimension component with the UiDimension1 identifier. The calendar dictionary is selected as the source for UiDimension and UiDimension is selected as the source for DimensionTree.
Add a link to the ExtCtrls system assembly.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
//Enable filter
DimensionTree1.EnableFilter := True;
End Sub Button1OnClick;
After executing the example clicking the button displays filter of dimension elements.
See also: