IDimensionViewer.ModeElements

Fore Syntax

ModeElements: Boolean;

Fore.NET Syntax

ModeElements: boolean;

Description

The ModeElements property determines the view of theOnly By Elements selection mode.

Fore Example

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
    DimensionTree1.ModeElements := 
True;
    DimensionTree1.ModeLevels := 
True;
End Sub Button1OnClick;

After executing the example clicking the button enables theBy Elements and Levels».

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore Example. Use Fore.NET analogs instead of Fore components.

Imports Prognoz.Platform.Interop.ExtCtrls;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
    DimensionTreeNet1.ModeElements := 
True;
    DimensionTreeNet1.ModeLevels := 
True;
End Sub;

See also:

IDimensionViewer