MultiSelect: Boolean;
The MultiSelect property determines whether multiple elements can be selected. True if possible.
Sub Main;
Var
MB: IMetabase;
Dimen: IDimInstance;
Selection: IDimSelection;
Begin
MB:=MetabaseClass.Active;
Dimen:=MB.ItemById("D_TO").Open(Null) As IDimInstance;
Selection:=Dimen.CreateSelection;
Selection.MultiSelect:=False;
Selection.SelectElement(11,False);
Selection.SelectElement(12,False);
Selection.SelectElement(13,False);
Selection.SelectElement(14,False);
End Sub Main;
After executing the example the Selection selection contains only dictionary element 14.
See also: