TreatEmptySelectionAsFull: Boolean;
TreatEmptySelectionAsFull: boolean;
In the TreatEmptySelectionAsFull property it is possible to consider empty selection as full on setting up behavior which will be used in the Foresight. Analytics Platform tools.
Available values:
True. It is available to consider empty selection as full.
False. It is not available to consider empty selection as full.
Default value is False.
The TreatEmptySelectionAsFull property manages theTreat Empty Selection as Full checkbox state on the Behavior tab.
To execute the example, add links to the system assemblies:
For Fore: Fore, Metabase.
For Fore.NET: KeFore, Metabase.
Sub UserProc;
Var
Mb: IMetabase;
SP: ISharedParams;
Begin
// Get the current repository
Mb := MetabaseClass.Active;
// Set possibility to consider empty selection as full
SP := Mb.SpecialObject(MetabaseSpecialObject.SharedParams).Edit As ISharedParams;
SP.DefaultBehaviour.TreatEmptySelectionAsFull := True;
(SP As IMetabaseObject).Save;
End Sub UserProc;
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.KeFore;
…
Public Shared Sub Main(Params: StartParams);
Var
Mb: IMetabase;
SP: ISharedParams;
Begin
// Get the current repository
Mb := Params.Metabase;
// Set possibility to consider empty selection as full
SP := Mb.SpecialObject[Prognoz.Platform.Interop.Metabase.MetabaseSpecialObject.msoSharedParams].Edit() As ISharedParams;
SP.DefaultBehaviour.TreatEmptySelectionAsFull:= true;
(SP As IMetabaseObject).Save();
End Sub;
After executing the example, in default settings the Treat Empty Selection as Full checkbox will be selected on the Behavior tab.
See also: